Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What is the best way to clean up the world file?
Date: Thu, 06 Jun 2019 16:50:37
Message-Id: 4MD4M6MI.RI7IBN4I.Q2W62WNT@Q22ZCE35.3Y6JGAXR.5SCCW5PU
In Reply to: Re: [gentoo-user] What is the best way to clean up the world file? by Grant Taylor
1 On 2019.06.06 11:59, Grant Taylor wrote:
2 > On 6/6/19 9:57 AM, Grant Taylor wrote:
3 >> It seems as if the regenworld script adds things that it finds from
4 >> /var/log/emerge.log that aren't themselves dependencies of something
5 >> else.  Thus it the world file is cleaner than if all installed
6 >> packages were in the world file.
7 >
8 > To put some numbers to it, regenworld crates a new world file that is
9 > ~250 lines on a machine that has > 950 packages installed (as
10 > reported by emerge -DuNeq @world).
11 >
12 > So it's better. But I think I still need to clean the world file.
13 I've been going through this lately also (mainly due to forgetting -1
14 on updates) and put together a script, which I can post later if
15 anyone wants. However, the bottom line for me is to do "emerge -pc
16 package" for each package in world to see what (if anything) else
17 pulled it in. If it was pulled in by something else, I remove it from
18 the world file, unless I explicitly want it installed. The script
19 just does most of that, producing a file that makes it easier for me to
20 see what -pc would remove and what is actually installed.
21
22 Currently my world file is 292 lines, with 1863 packages installed
23 (from "eix-installed -a".)
24
25 I'm not going to even try regenworld, as I'm in the midst of converting
26 to the 17.1 profile, and have quite a number of packages that don't yet
27 seem to cope with that change well.
28
29 Jack

Replies

Subject Author
Re: [gentoo-user] What is the best way to clean up the world file? Grant Taylor <gtaylor@×××××××××××××××××××××.net>