Gentoo Archives: gentoo-dev

From: Daniel Ostrow <dostrow@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A couple questions about portage.
Date: Sat, 24 Jul 2004 02:23:19
Message-Id: 4101C1C5.4030105@gentoo.org
In Reply to: Re: [gentoo-dev] A couple questions about portage. by Michael Marineau
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Michael,
5
6 Unless I am mistaken this problem is completely solved by
7 /etc/portage/package.{mask,unmask,keyword} read man portage for info.
8
9 Daniel Ostrow
10 Operational Lead
11 Gentoo/macos
12
13 Michael Marineau wrote:
14 | Michael Marineau wrote:
15 | | I have a couple questions about why portage handles masked packages.
16 | oops, typo. *how* portage handles masked packages.
17 | |
18 | | First of all, when a specific masked package is emerged (usually a
19 | | ~mask) and
20 | | it is depended on by another package emerge -UD world will fail because
21 | | of the
22 | | masked dependency. This can be avoided by specifically unmasking the
23 | | package,
24 | | but that can be a bit tedious if this situation is a common occurrence.
25 | | Failing seems the right thing to do if the masked package is not already
26 | | installed, but if the package is already installed it would make sense
27 | | to me
28 | | that portage realizes that the dependency is already met and not die.
29 | |
30 | | Another thought that I made a comment on in the GLEP 19 thread is that
31 | if a
32 | | package is removed from the portage tree, later when upgrading another
33 | | the user
34 | | will be forced to upgrade(or downgrade if upgrades are masked) that
35 | | package to,
36 | | even if they wanted to keep the existing version. To get around this
37 | | the user
38 | | must save the old ebuild to their portage overly. I think it would make
39 | | more
40 | | sense to let the existing set of installed packages behave as another
41 | | portage
42 | | overly so that it is easy to hold on existing packages. This would also
43 | | avoid
44 | | any accidental downgrades if a package was ~arch masked, but then
45 | | removed from
46 | | portage in favor of a newer version.
47 | |
48 | | --
49 | | Michael Marineau
50 | | marineam@×××××××××.edu
51 | | Oregon State University
52 |
53 -----BEGIN PGP SIGNATURE-----
54 Version: GnuPG v1.2.4 (MingW32)
55 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
56
57 iD8DBQFBAcG4sb0gXCN8LgURAuFVAKCOTbvLjAmQQevOgv8BICcSN7GfrQCgw+1l
58 F2VoFuQFuLhO9fh19xXBEMc=
59 =EM9s
60 -----END PGP SIGNATURE-----
61
62
63 --
64 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] A couple questions about portage. Michael Marineau <marineam@×××××××××.edu>