Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to resume 'emerge -e @world' after grub fails?
Date: Thu, 21 Dec 2017 04:49:28
Message-Id: ce50b1a0-f3fc-e78a-6d8d-aec57a626702@gmail.com
In Reply to: Re: [gentoo-user] How to resume 'emerge -e @world' after grub fails? by David Haller
1 David Haller wrote:
2 > Hello,
3 >
4 > On Mon, 18 Dec 2017, Dale wrote:
5 >> David Haller wrote:
6 >>> On Mon, 18 Dec 2017, Dale wrote:
7 >>>> The key thing, remembering to force it to be added to world, which is a
8 >>>> lot easier than remembering to use -1 for ALL those things I don't want
9 >>>> in the world file.  Before I added the -1 option, my world file was full
10 >>>> of all sorts of things that have no business being there at all.  It was
11 >>>> causing huge problems with upgrades and such. 
12 >>> Hm.
13 >>>
14 >>> # wc -l /var/lib/portage/world
15 >>> 1140 /var/lib/portage/world
16 >>>
17 >>> Am I doing something wrong? Looking it over, it looks right though.
18 >>> And --depclean is hopelessly overeager here.
19 >>>
20 >>> ====
21 >>> Packages installed: 3511
22 >>> Packages in world: 1140
23 >>> Packages in system: 43
24 >>> Required packages: 2581
25 >>> Number to remove: 930
26 >>> ====
27 > [..]
28 >> I have KDE installed here plus other desktops as well.  While I use some
29 >> meta packages, I do some on their own as needed.  I have a lot of things
30 >> installed since I have a digital camera, burn CD/DVDs and all sorts of
31 >> other weird things.  Here is mine.
32 >>
33 >> root@fireball / # wc -l /var/lib/portage/world
34 >> 201 /var/lib/portage/world
35 >> root@fireball / #
36 > That's not much ;)
37 >
38 > [..]
39
40
41 It results in this which is all I need and then some.
42
43 Packages installed:   1576
44 Packages in world:    199
45 Packages in system:   43
46 Required packages:    1576
47  
48 Notice how my required packages and installed package match up? 
49
50
51 >> Either way, doing it manually or using that command, you should end up
52 >> with a clean world file after some effort.  I would guess that updates
53 >> would be much easier.  Most of mine work first time with no problems. 
54 >> Any failures are usually from the build itself. 
55 > I guess I just have too many little stuff in @world. E.g. I explicitly
56 > want the x265 commandline tool, so I have media-libs/x265 in @world.
57 > Same goes for e.g. ffmpeg (for /usr/bin/ffmpeg), etc. pp. Or just
58 > this:
59 >
60 > # grep -c app-arch/ /var/lib/portage/world
61 > 42 (sic! ;)
62 >
63 > Lots of app-{x,}emacs/, app-shells/, app-portage/, app-text/,
64 > games-*/, media-*/...
65
66
67 I have quite a few of those as well but they are things I installed
68 directly.  Given that some of them are pulled in by virtuals which could
69 be dependencies, I may can remove some of the ones I have.  May test
70 that one day when I'm bored. 
71
72
73 >
74 > I'm reather overeager emerging with -1 :) Hah! Got one: --depclean
75 > suggested dev-haskell/x509-validation. Ok, removed it and it is still
76 > used. Ok, let's see if rebuilding depending stuff
77 > (dev-haskell/connection and dev-haskell/tls) helps:
78 >
79 > Doesn't seem like it:
80 >
81 > * ghc-pkg check: 'checking for other broken packages:'
82 > There are problems in package connection-0.2.5:
83 > dependency "x509-validation-1.6.5-9d1Itw2kfW6JXBlF0ahQsB" doesn't exist
84 > There are problems in package tls-1.3.9:
85 > dependency "x509-validation-1.6.5-9d1Itw2kfW6JXBlF0ahQsB" doesn't exist
86 > [..]
87 >>>> Failed to emerge dev-haskell/connection-0.2.5,
88 > So, remerging dev-haskell/x509-validation. That's one example of the
89 > "overeager" --depclean... (and no, neither dev-haskell/connection
90 > dev-haskell/tls has the "profile"-USE-flags set, but it seems the
91 > build does actually need it).
92 >
93 > Whoa, --depclean wants to remove a bunch of eselects too, e.g.
94 > app-eselect/eselect-package-manager and app-eselect/eselect-pdftex.
95 > Ok, I don't have texlive-core in world, but it is pulled in by various
96 > other stuff...
97 >
98 > Oh well, I'll have to check what depclean's doing wrong better.
99 >
100 > -dnh
101 >
102
103 I have several eselect packages installed here and not one entry in my
104 world file.  All of them are pulled in by the packages that need them. 
105
106 If it were my system, I'd be pulling the broom out of my closet. 
107
108 Dale
109
110 :-)  :-)