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
1 maillog: 24/08/2005-10:20:42(+0200): Ralph Seichter types
2 > Georgi Georgiev wrote:
3 >
4 > > Now try to read my previous... well... wanna-be-an-answer :)
5 >
6 > I think that now I understand what you tried to tell me. ;-)
7 >
8 > # /etc/portage/profile/package.provided (1)
9 > mail-mta/ssmtp-2.61
10 >
11 > alone will not suffice, additionally
12 >
13 > # /etc/portage/profile/virtuals (2)
14 > virtual/mta mail-mta/ssmtp
15 >
16 > is required to make sure that emerge does not install any of the
17 > other "virtual MTA" packages.
18
19 That's about right. But you really want to "provide" postfix, right? As
20 far as I got it, you don't care about ssmtp if you can convince portage
21 not to install it.
22
23 > What I still don't know if the setting (1) prevents future Versions
24 > of ssmtp, say ssmtp-2.72, from being installed. Put in other words,
25 > are packages in package.provided ever updated by "emerge --update
26 > --deep world"? As I wrote before I don't know if I should add them
27 > to package.mask aswell to prevent updates, and if the absolute path
28 > is /etc/portage/profile/package.mask or /etc/portage/package.mask?
29
30 Try for yourself. Put mail-mta/ssmtp-2.60 in package.provided and see if
31 you'll get an upgrade to 2.61 with emerge -pud (or -aud) world.
32
33 --
34 -* Georgi Georgiev -* You can't break eggs without making an -*
35 *- chutz@×××.net *- omelet. *-
36 -* +81(90)2877-8845 -* -*
37 --
38 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>