* [gentoo-laptop] Kernel Slots
@ 2006-09-03 14:10 Boris
2006-09-03 16:19 ` stefan
2006-09-03 16:34 ` Christian Affolter
0 siblings, 2 replies; 9+ messages in thread
From: Boris @ 2006-09-03 14:10 UTC (permalink / raw
To: gentoo-laptop
Hi Everyone!
I already googled and looked over the gentoo.org Wegsite. Question:
I have several versions of gentoo-sources in /usr/src/ .
How can I remove the old slots? Would be nice to know. Thank you.
Also The old Kde (version 3.4) is redundant.. So how does it work with
slots in general? in the "man portage" and "man emerge" pages the slots
are only METNIONED but not explained..
greetings, Eis
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-03 14:10 [gentoo-laptop] Kernel Slots Boris
@ 2006-09-03 16:19 ` stefan
2006-09-03 15:55 ` Boris
2006-09-03 16:34 ` Christian Affolter
1 sibling, 1 reply; 9+ messages in thread
From: stefan @ 2006-09-03 16:19 UTC (permalink / raw
To: gentoo-laptop
Hi!
I guess the -P Prune option can help you, but it does not handle multiple
versions very well.
I removed all my gentoo-sources because i switched to hardened-sources
lately by simply,
issuing an "emerge -C gentoo-sources" (This removes ALL slots). Of course,
you should make
a backup of your .config.
I don't know about Kde, maybe pruning all kde packages would help. Pruning
world is no good
idea i think, because of some packets, you need more then one version
installed.
greetings, Stefan
On Sun, 03 Sep 2006 14:10:50 -0000, Boris
<das-mach-ich-morgen@haebich.org> wrote:
>
> Hi Everyone!
>
>
> I already googled and looked over the gentoo.org Wegsite. Question:
> I have several versions of gentoo-sources in /usr/src/ .
> How can I remove the old slots? Would be nice to know. Thank you.
> Also The old Kde (version 3.4) is redundant.. So how does it work with
> slots in general? in the "man portage" and "man emerge" pages the slots
> are only METNIONED but not explained..
>
> greetings, Eis
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-03 16:19 ` stefan
@ 2006-09-03 15:55 ` Boris
0 siblings, 0 replies; 9+ messages in thread
From: Boris @ 2006-09-03 15:55 UTC (permalink / raw
To: gentoo-laptop
Hm, ok.
I read about prune. But doesnt it remove my current kernel slot which is
being used??
eis
stefan wrote:
> Hi!
> I guess the -P Prune option can help you, but it does not handle
> multiple versions very well.
> I removed all my gentoo-sources because i switched to hardened-sources
> lately by simply,
> issuing an "emerge -C gentoo-sources" (This removes ALL slots). Of
> course, you should make
> a backup of your .config.
> I don't know about Kde, maybe pruning all kde packages would help.
> Pruning world is no good
> idea i think, because of some packets, you need more then one version
> installed.
>
> greetings, Stefan
>
> On Sun, 03 Sep 2006 14:10:50 -0000, Boris
> <das-mach-ich-morgen@haebich.org> wrote:
>
>>
>> Hi Everyone!
>>
>>
>> I already googled and looked over the gentoo.org Wegsite. Question:
>> I have several versions of gentoo-sources in /usr/src/ .
>> How can I remove the old slots? Would be nice to know. Thank you.
>> Also The old Kde (version 3.4) is redundant.. So how does it work
>> with slots in general? in the "man portage" and "man emerge" pages
>> the slots are only METNIONED but not explained..
>>
>> greetings, Eis
> --gentoo-laptop@gentoo.org mailing list
>
>
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-03 14:10 [gentoo-laptop] Kernel Slots Boris
2006-09-03 16:19 ` stefan
@ 2006-09-03 16:34 ` Christian Affolter
2006-09-03 17:12 ` Boris
1 sibling, 1 reply; 9+ messages in thread
From: Christian Affolter @ 2006-09-03 16:34 UTC (permalink / raw
To: gentoo-laptop
Hi!
> I already googled and looked over the gentoo.org Wegsite. Question:
> I have several versions of gentoo-sources in /usr/src/ .
> How can I remove the old slots?
First do a:
emerge unmerge sys-kernel/gentoo-sources -vp
You'll see a list of selected (and installed sources).
After that unmerge all unused sources by specifying their exact version
or use a place mark (*) for multiple matchings:
emerge unmerge sys-kernel/gentoo-sources-[VERSION] -va
again, you will see which sources are affected and which are omitted.
regards,
Chris
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-03 16:34 ` Christian Affolter
@ 2006-09-03 17:12 ` Boris
2006-09-04 16:06 ` Joe R
0 siblings, 1 reply; 9+ messages in thread
From: Boris @ 2006-09-03 17:12 UTC (permalink / raw
To: gentoo-laptop
YEAH. Thanks. That s what I was searching for... I alsways tried to
unmerge "gentoo-sources-linux-VERSION" ..
that was it.
eis
Christian Affolter wrote:
> Hi!
>
>> I already googled and looked over the gentoo.org Wegsite. Question:
>> I have several versions of gentoo-sources in /usr/src/ .
>> How can I remove the old slots?
> First do a:
> emerge unmerge sys-kernel/gentoo-sources -vp
>
> You'll see a list of selected (and installed sources).
>
>
> After that unmerge all unused sources by specifying their exact
> version or use a place mark (*) for multiple matchings:
> emerge unmerge sys-kernel/gentoo-sources-[VERSION] -va
>
> again, you will see which sources are affected and which are omitted.
>
>
> regards,
> Chris
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-03 17:12 ` Boris
@ 2006-09-04 16:06 ` Joe R
2006-09-04 22:23 ` Nico
0 siblings, 1 reply; 9+ messages in thread
From: Joe R @ 2006-09-04 16:06 UTC (permalink / raw
To: gentoo-laptop
If you're using the latest kernel version (having followed something
like the gentoo wiki "How to upgrade your Kernel" guide), then all you
should have had to do was "emerge -P gentoo-sources".It pretty much
worked like merge -C except it leaves the current one, and the process
also included that 5 second option of you stopping the unmerge of all
the old ones in case you want to stop the process. I actually just used
it to remove all my old gentoo-sources packages on friday and it worked
like a charm.
das-mach-ich-morgen@haebich.org wrote:
> YEAH. Thanks. That s what I was searching for... I alsways tried to
> unmerge "gentoo-sources-linux-VERSION" ..
>
> that was it.
>
> eis
>
>
> Christian Affolter wrote:
>> Hi!
>>
>>> I already googled and looked over the gentoo.org Wegsite. Question:
>>> I have several versions of gentoo-sources in /usr/src/ .
>>> How can I remove the old slots?
>> First do a:
>> emerge unmerge sys-kernel/gentoo-sources -vp
>>
>> You'll see a list of selected (and installed sources).
>>
>>
>> After that unmerge all unused sources by specifying their exact
>> version or use a place mark (*) for multiple matchings:
>> emerge unmerge sys-kernel/gentoo-sources-[VERSION] -va
>>
>> again, you will see which sources are affected and which are omitted.
>>
>>
>> regards,
>> Chris
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-04 16:06 ` Joe R
@ 2006-09-04 22:23 ` Nico
2006-09-04 22:24 ` Nico
2006-09-04 22:33 ` Joe R
0 siblings, 2 replies; 9+ messages in thread
From: Nico @ 2006-09-04 22:23 UTC (permalink / raw
To: gentoo-laptop
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
Prune removes all the versions but the last, not the current one.
For exemple, I have old sources on my laptop and use the 2.6.17-r4, which is
not the last (2.6.17-r7) :
ptigris ~ # emerge -pP gentoo-sources
>>> These are the packages that would be unmerged:
sys-kernel/gentoo-sources
selected: 2.6.16-r9 2.6.16-r12 2.6.16-r13 2.6.17-r4
protected: 2.6.17-r7
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
It wants to remove the one I use, so I want use this command, I must
recompile the last one with my .config file.
[-- Attachment #2: Type: text/html, Size: 740 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-04 22:23 ` Nico
@ 2006-09-04 22:24 ` Nico
2006-09-04 22:33 ` Joe R
1 sibling, 0 replies; 9+ messages in thread
From: Nico @ 2006-09-04 22:24 UTC (permalink / raw
To: gentoo-laptop
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
sorry, the last sentence is :
It wants to remove the one I use, so IF I want use this command, I must
recompile the last one with my .config file.
[-- Attachment #2: Type: text/html, Size: 159 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-laptop] Kernel Slots
2006-09-04 22:23 ` Nico
2006-09-04 22:24 ` Nico
@ 2006-09-04 22:33 ` Joe R
1 sibling, 0 replies; 9+ messages in thread
From: Joe R @ 2006-09-04 22:33 UTC (permalink / raw
To: gentoo-laptop
Which is why I started with saying, "If you're using the latest kernel
version..." Of course, you could upgrade the kernel and not have the
issue of emerge -P wanting to remove your current one.
dragoonway@gmail.com wrote:
> Prune removes all the versions but the last, not the current one.
> For exemple, I have old sources on my laptop and use the 2.6.17-r4,
> which is not the last (2.6.17-r7) :
>
> ptigris ~ # emerge -pP gentoo-sources
>
> >>> These are the packages that would be unmerged:
>
> sys-kernel/gentoo-sources
> selected: 2.6.16-r9 2.6.16-r12 2.6.16-r13 2.6.17-r4
> protected: 2.6.17-r7
> omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
> It wants to remove the one I use, so I want use this command, I must
> recompile the last one with my .config file.
--
gentoo-laptop@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-09-04 22:36 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-03 14:10 [gentoo-laptop] Kernel Slots Boris
2006-09-03 16:19 ` stefan
2006-09-03 15:55 ` Boris
2006-09-03 16:34 ` Christian Affolter
2006-09-03 17:12 ` Boris
2006-09-04 16:06 ` Joe R
2006-09-04 22:23 ` Nico
2006-09-04 22:24 ` Nico
2006-09-04 22:33 ` Joe R
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox