Gentoo Archives: gentoo-amd64

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Re: Re: libungif and giflib conflict.
Date: Wed, 02 Nov 2005 22:02:45
Message-Id: 200511022259.51970.harmgeerts@home.nl
In Reply to: [gentoo-amd64] Re: Re: Re: libungif and giflib conflict. by Duncan <1i5t5.duncan@cox.net>
1 On Wednesday 02 November 2005 21:54, Duncan wrote:
2 > Hmm... That --noreplace is a new one on me. I normally simply
3 >
4 > echo <category/pkg> >> /var/lib/portage/world
5 >
6 > That appends the echoed cat/package to the end of the named file,
7 > accomplishing what we are after. The only down side to doing it manually
8 > (using echo) is if you typo. Still, that's not hard to catch and fix, if
9 > depclean still wants to remove the package you (thought you) just added.
10 > Newer versions of portage (don't believe it's in stable portage yet) even
11 > have an emaint command that removes the bad lines for you.
12
13 So did I, but now the warning `emerge depclean` produces tells me I can use
14 this. I find this rather nice as it is a lot safer and keeps the world file
15 free from user errors. For example replacing >> with > would be the most
16 destructive user error :P
17 I have portage 2.0.53_rc7 installed and I'm not sure which version introduced
18 --noreplace so it might not be available for everyone yet.
19
20 > 2. All this should reemphasize the role of the world file. It should
21 > list all your "leaf" packages, for the most part, executables. It should
22 > NOT list "trunk and branch" packages, dependencies of the leaves, for the
23 > most part, libraries and the like.
24
25 Ed Catmur has written a script that prunes the world file.
26 http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep
27 This will tune your world to only list leaf packages.
28 But this may not always be desired, use at your own discretion.
29
30 I've got nothing else to add so I guess this concludes the course "Maintaining
31 Gentoo in a nutshell" by Duncan and Harm Geerts :)
32 --
33 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: Re: Re: Re: libungif and giflib conflict. Duncan <1i5t5.duncan@×××.net>