Gentoo Archives: gentoo-portage-dev

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: Conflicting RDEPENDS
Date: Wed, 03 Jun 2009 19:22:12
Message-Id: 4A26CD5F.50305@necoro.eu
In Reply to: [gentoo-portage-dev] Re: Conflicting RDEPENDS by Duncan <1i5t5.duncan@cox.net>
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Duncan schrieb:
5 > Patrick Börjesson <psychotical@×××××××.com> posted
6 > 20090529201741.GB11660@×××××.nexus, excerpted below, on Fri, 29 May 2009
7 > 22:17:41 +0200:
8 >
9 >> Why exactly would you want to use --oneshot for a "leaf package" that is
10 >> not depended on by any other package in the world set? If spam IS
11 >> depended on by any other package (recursively) in the world set, it will
12 >> be pulled in by --complete-graph, but that's not the case here if i
13 >> understand it correctly, thus it's a package that you explicitly wanted
14 >> installed, thus it belongs in the world set, and you should thus not use
15 >> --oneshot for it.
16 >
17 > I use -1 by default, here (via scriptlet), mainly so I don't have to
18 > worry about cluttering up my world file while emerging individual
19 > packages, just as I always use -NuD with my @system and @world runs.
20 >
21 > But for leaf packages, it serves as a sort of test install as well.
22 > Since I always do revdep-rebuild -p and emerge --depclean -p after every
23 > update (typically 2-3 times a week), then rebuild and clean as I need to,
24 > keeping the "trial merges" on the depclean list for a few days keeps me
25 > aware of them. If I know it's something I want to keep, I run a
26 > different scriptlet without the -1, but that's not often once a system is
27 > up and running with the normal working set merged. Meanwhile, I
28 > ultimately either emerge -C (or let depclean handle it) the "trialware",
29 > or emerge --noreplace, thus adding it to world.
30 >
31 > But experimental installs and their deps typically sit in the --depclean
32 > list for anything from a few minutes to a few days, until I decide
33 > whether I want to keep or remove them.
34 >
35 > If he was testing how the switches under discussion here worked and has a
36 > similar policy, I could easily see him using -1 by habit, even if he
37 > didn't explicitly reason that it was a test and therefore something he
38 > didn't want in @world.
39 >
40
41 Well ... as one can probably see from the package names, I was just
42 testing whether portage actually checks RDEPENDs of installed packages
43 or not ;) (if it does not, Portato does not need to either ;))
44
45 And I often use -1 w/o even thinking about it
46
47 - - René
48 -----BEGIN PGP SIGNATURE-----
49 Version: GnuPG v2.0.11 (GNU/Linux)
50 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
51
52 iEYEARECAAYFAkomzV8ACgkQ4UOg/zhYFuDyjACdHFOgdT8FABw/j4ta6aqutl7i
53 7X8AnjQvuHwY3iddJC5d0zRzv3PKoujL
54 =WOYx
55 -----END PGP SIGNATURE-----