Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Jak pozbyć się niepotrzebnych kerneli?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Feb 16, 2009 8:07 am    Post subject: [SOLVED] Jak pozbyć się niepotrzebnych kerneli? Reply with quote

Witam - jak w temacie:

Code:
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.25-gentoo-r6
  [2]   linux-2.6.25-gentoo-r7
  [3]   linux-2.6.26-gentoo-r3
  [4]   linux-2.6.27-gentoo-r7
  [5]   linux-2.6.27-gentoo-r8 *


Code:
# ls -l /usr/src/
total 20
lrwxrwxrwx  1 root root   22 Jan 22 11:34 linux -> linux-2.6.27-gentoo-r8
drwxr-xr-x 19 root root 4096 Aug  1  2008 linux-2.6.25-gentoo-r6
drwxr-xr-x 19 root root 4096 Nov 24 17:04 linux-2.6.25-gentoo-r7
drwxr-xr-x 21 root root 4096 Nov 24 16:50 linux-2.6.26-gentoo-r3
drwxr-xr-x 22 root root 4096 Jan  5 11:18 linux-2.6.27-gentoo-r7
drwxr-xr-x 23 root root 4096 Feb  5 11:38 linux-2.6.27-gentoo-r8
 


Co zrobić aby usunąć całą resztę? Wiem że można ręcznie to usunąć, ale czy jest inny sposób?


Last edited by Xywa on Mon Feb 16, 2009 11:29 am; edited 1 time in total
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Mon Feb 16, 2009 8:23 am    Post subject: Reply with quote

emerge -P gentoo-sources

pozostałości usuń ręcznie, szczególnie, jeśli nie zrobiłeś make clean w każdym katalogu przed emerge -P.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Feb 16, 2009 9:06 am    Post subject: Reply with quote

pamietaj o wywaleniu rowniez z /boot i /lib/modules
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Feb 16, 2009 9:26 am    Post subject: Reply with quote

I źródeł z /usr/src (przynajmniej u mnie one zostają tam, a ważą dość sporo).
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Feb 16, 2009 9:36 am    Post subject: Reply with quote

Pomimo emerge -P gentoo-sources zostały jeszcze jakieś starocie, to ręcznie je wykasować? Dlaczego emerge -P ich nie zauważył?

Code:
# emerge -P gentoo-sources

Calculating dependencies... done!

 sys-kernel/gentoo-sources
    selected: 2.6.26-r3 2.6.27-r7
   protected: none
     omitted: 2.6.27-r8


Code:
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.25-gentoo-r6
  [2]   linux-2.6.25-gentoo-r7
  [3]   linux-2.6.27-gentoo-r8 *
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Feb 16, 2009 10:02 am    Post subject: Reply with quote

Code:
emerge -C sys-kernel/gentoo-sources-2.6.26-r3 sys-kernel/gentoo-sources-2.6.27-r7
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Feb 16, 2009 10:05 am    Post subject: Reply with quote

dziadu wrote:
Code:
emerge -C sys-kernel/gentoo-sources-2.6.26-r3 sys-kernel/gentoo-sources-2.6.27-r7


Code:
# emerge -C sys-kernel/gentoo-sources-2.6.25-gentoo-r6

--- Couldn't find 'sys-kernel/gentoo-sources-2.6.25-gentoo-r6' to unmerge.

>>> No packages selected for removal by unmerge
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Feb 16, 2009 10:26 am    Post subject: Reply with quote

dziadu wrote:
I źródeł z /usr/src (przynajmniej u mnie one zostają tam, a ważą dość sporo).

eselect generuje (prawdopodobnie) listę na podstawie zawartości tego katalogu (szuka katalogów linux-*), usuń stare źródła.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Feb 16, 2009 11:28 am    Post subject: Reply with quote

dziadu wrote:
eselect generuje (prawdopodobnie) listę na podstawie zawartości tego katalogu (szuka katalogów linux-*), usuń stare źródła.
Już jest OK.

SlashBeast wrote:
pamietaj o wywaleniu rowniez z /boot i /lib/modules

Posprzątałem ręcznie :)


TXH - SOLVED!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum