Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why my system is keeping old kernel around?
Date: Sun, 28 Apr 2013 01:30:34
Message-Id: CADPrc81foJsWPtS+r15mv1eZ4FGKETS4jdn0ee0-G2uXaV1jcg@mail.gmail.com
In Reply to: [gentoo-user] why my system is keeping old kernel around? by Joseph
1 On Sat, Apr 27, 2013 at 8:19 PM, Joseph <syscon780@×××××.com> wrote:
2 > When I run depclean, it prints out:
3 >
4 > sys-kernel/gentoo-sources
5 > selected: 3.6.11 protected: none omitted: 2.6.31-r6 2.6.36-r5
6 > 3.7.10-r1
7 >
8 > ll /usr/src/
9 > lrwxrwxrwx 1 root root 19 Feb 26 12:35 linux -> linux-3.6.11-gentoo
10 >
11 > The system is using kernel 3.6.11; so I'll keep it.
12 > But why it tries to keep older kernels: 2.6.31-r6 2.6.36-r5 ?
13
14 If you ran emerge --depclean, the older kernels are not there; only
15 the files created when you compiled them (*.o, *.ko, vmlinuz, stuff
16 like that).
17
18 You can rm -rf the old versions safely.
19
20 Regards.
21 --
22 Canek Peláez Valdés
23 Posgrado en Ciencia e Ingeniería de la Computación
24 Universidad Nacional Autónoma de México