Re: How to satisfy Portage dependencies with dummy packages (or other methods)?

Georgi Georgiev <[email protected]> Wed, 24 Aug 2005 17:33:18 +0900
Newsgroups gmane.linux.gentoo.admin
Message-ID <[email protected]>
maillog: 24/08/2005-10:20:42(+0200): Ralph Seichter types
> Georgi Georgiev wrote:
> 
> > Now try to read my previous... well... wanna-be-an-answer  :)
> 
> I think that now I understand what you tried to tell me. ;-)
> 
>   # /etc/portage/profile/package.provided (1)
>   mail-mta/ssmtp-2.61
> 
> alone will not suffice, additionally
> 
>   # /etc/portage/profile/virtuals (2)
>   virtual/mta mail-mta/ssmtp
> 
> is required to make sure that emerge does not install any of the
> other "virtual MTA" packages.

That's about right. But you really want to "provide" postfix, right? As
far as I got it, you don't care about ssmtp if you can convince portage
not to install it.

> What I still don't know if the setting (1) prevents future Versions
> of ssmtp, say ssmtp-2.72, from being installed. Put in other words,
> are packages in package.provided ever updated by "emerge --update
> --deep world"? As I wrote before I don't know if I should add them
> to package.mask aswell to prevent updates, and if the absolute path
> is /etc/portage/profile/package.mask or /etc/portage/package.mask?

Try for yourself. Put mail-mta/ssmtp-2.60 in package.provided and see if
you'll get an upgrade to 2.61 with emerge -pud (or -aud) world.

-- 
-*   Georgi Georgiev   -* You can't break eggs without making an       -*
*-    [email protected]    *- omelet.                                      *-
-*  +81(90)2877-8845   -*                                              -*
-- 
[email protected] mailing list