1 |
Mark Haney wrote: |
2 |
> Is there a way I can get portage to show me all the listed kernel |
3 |
> sources I've installed? When I've removed kernel sources I no longer |
4 |
> need because of upgrades I've just rm -rf the kernel directory. Since |
5 |
> I've done that, I've realized that portage is probably keeping that in |
6 |
> in world as installed and I would like to keep the portage db as clean |
7 |
> as possible. |
8 |
> |
9 |
> Does that make sense? |
10 |
> |
11 |
Sure, I've worked that way as well. |
12 |
|
13 |
A great addition is: |
14 |
|
15 |
emerge eix and run 'update-eix'. This builds a database of installed |
16 |
packages. Then |
17 |
|
18 |
% eix gentoo-sources (or vanilla-sources or whatever) |
19 |
|
20 |
will list all the available ebuilds for gentoo-sources and highlight |
21 |
those that portage thinks are installed. |
22 |
|
23 |
'unmerge'ing those you don't want will clean up portage's database of |
24 |
installed packages. Doesn't remove /lib/modules/<kernel-version>/ |
25 |
though or old kernels from /boot/. Seems that manual deletion is |
26 |
required here. |
27 |
|
28 |
HTH |
29 |
|
30 |
BobS |
31 |
-- |
32 |
gentoo-amd64@g.o mailing list |