Gentoo Archives: gentoo-admin

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-admin@l.g.o
Subject: Re: [gentoo-admin] How to satisfy Portage dependencies with dummy packages (or other methods)?
Date: Wed, 24 Aug 2005 08:34:34
Message-Id: 20050824083318.GB104763@lion.gg3.net
In Reply to: Re: [gentoo-admin] How to satisfy Portage dependencies with dummy packages (or other methods)? by Ralph Seichter
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 -* *- chutz@×××.net *- omelet. *- -* +81(90)2877-8845 -* -* -- gentoo-admin@g.o mailing list

Replies

Subject Author
Re: [gentoo-admin] How to satisfy Portage dependencies with dummy packages (or other methods)? Ralph Seichter <gentoo-ml@××××××××.org>