Gentoo Archives: gentoo-user

From: Jacques Montier <jacques.montier@×××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] protect running kernel fomr depclean?
Date: Sun, 12 Apr 2009 19:18:32
Message-Id: 49E23E84.7080303@numericable.fr
In Reply to: Re: [gentoo-user] protect running kernel fomr depclean? by Dale
1 Dale a gentiment tapote:
2 > Mark Knecht wrote:
3 >
4 >> A problem I often have after a big update is emerge -p --depclean
5 >> tells me it is going to remove my running kernel.
6 >>
7 >> sys-kernel/gentoo-sources
8 >> selected: 2.6.26-r4
9 >> protected: none
10 >> omitted: 2.6.25-r8 2.6.27-r10
11 >>
12 >> dragonfly ~ # uname -a
13 >> Linux dragonfly 2.6.26-gentoo-r4 #1 SMP PREEMPT Tue Dec 9 11:08:39 PST
14 >> 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
15 >> dragonfly ~ #
16 >>
17 >> My general reaction is to remove packages by hand at this point but
18 >> today I have 30-40 and would like to protect this kernel source. Is
19 >> there a generaic way to *always* protect the kernel that is currently
20 >> running?
21 >>
22 >> Thanks,
23 >> Mark
24 >>
25 >>
26 >>
27 >>
28 >
29 > Just emerge it with the exact version. emerge
30 > =sys-kernel/gentoo-sources-2.6.26-r4 should work. There is a option to
31 > add it to world without actually "compiling" it again but I can't recall
32 > what it is.
33 >
34 > Feel free to correct any typo's.
35 >
36 > Dale
37 >
38 > :-) :-)
39 >
40 >
41 >
42 Is it emerge --noreplace <atom> ?
43
44 --
45 Jacques

Replies

Subject Author
Re: [gentoo-user] protect running kernel fomr depclean? Dale <rdalek1967@×××××.com>