1 |
> |
2 |
> Hm. |
3 |
> |
4 |
> # wc -l /var/lib/portage/world |
5 |
> 1140 /var/lib/portage/world |
6 |
> |
7 |
> Am I doing something wrong? |
8 |
|
9 |
|
10 |
If you're emerging dependencies without -1, then yes, otherwise, no. |
11 |
|
12 |
|
13 |
> Looking it over, it looks right though. |
14 |
> And --depclean is hopelessly overeager here. |
15 |
> |
16 |
|
17 |
What makes you think that? |
18 |
|
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 |
> Hm. I guess there's stuff missing from world (linux-gazette*?) or |
29 |
> something's broke. I guess I should quickpkg stuff, run a depclean and |
30 |
> go figure what's missing ;) adding to world/pruning whatever ;) I know |
31 |
> a lot of those "depcleaned" pkgs are wanted/needed, so I missed adding |
32 |
> stuff to world or deps are lacking... |
33 |
|
34 |
|
35 |
Yeah reviewing the output of a --pv --depclean sounds like a good idea. |
36 |
Then you can add anything that's obviously missing to world before a real |
37 |
--depclean. When i depclean i use -av --depclean --exclude gcc --exclude |
38 |
gentoo-sources, since i like keep 2 gcc's around and I look after sources |
39 |
manually. |
40 |
|
41 |
AFAIK missing dependencies are rare as they are quickly identified by the |
42 |
breakage. |
43 |
|
44 |
|
45 |
> Oh well. Not while I'm cleaning |
46 |
> up after the profile-13/gcc-5.4 -> profile-17/gcc-7.2 stuff (I'd |
47 |
> already compiled most with gcc 6.4, with "std=c++14" for C++ stuff. So |
48 |
> not much change there besides pie/no-pie. |
49 |
> |
50 |
|
51 |
I ended up rebuilding two machines, partly due to self induced |
52 |
hardened/PIE/PIC pain, and also to start with empty USE and |
53 |
/etc/portage/package.* files which were full of crap after many years. I |
54 |
now have; |
55 |
$ wc -l /var/lib/portage/world |
56 |
63 /var/lib/portage/world |
57 |
|
58 |
and emerge -pe says "Total: 1024 packages" |