Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-18 Thread C. Beamer
Thanks, Myk Taylor wrote: > emerge -C gentoo-sources-2.6.12-r10 > or > emerge -C =gentoo-sources-2.6.12-r10 > > -C is short for --unmerge This did what I wanted it to do. I had the command right, I was just using the wrong name - I used linux-sources. What can I say ... I'm still learning! :-

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-18 Thread Myk Taylor
Mariusz Pękala wrote: > Additionally emerge unmerge leaves the remnants of compilation > process, so you still have to do rm -r on the sources. I've always liked to keep /usr as read-only as possible. I set a few variables in /etc/make.conf that (I find) make everything a little more maintaina

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-18 Thread Mariusz Pękala
On 2005-12-17 19:58:36 -0600 (Sat, Dec), Samir Faci wrote: > is there an advantage to doing that as opposed to rm -fr > /usr/src/linux-2.6.12-r10 (or whatever the dir is called)? Just > curious, I always just used the rm -fr As others said, you SHOULD unmerge the unused package. Just as a note

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-17 Thread Myk Taylor
just 'rm -rf'ing the source dirs gets rid of the files, true, but not formally unmerging packages desynchronizes the package management system, which will think you still have the older versions installed. In practice, I don't think it causes any real problems (maybe it will make emerge(1) take

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-17 Thread Richard Fish
On 12/17/05, Samir Faci <[EMAIL PROTECTED]> wrote: > is there an advantage to doing that as opposed to rm -fr > /usr/src/linux-2.6.12-r10 (or whatever the dir is called)? Just > curious, I always just used the rm -fr Unmerging also removes the entries from the package database in /var/db/pkg/.

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-17 Thread Samir Faci
Myk Taylor wrote: is there an advantage to doing that as opposed to rm -fr /usr/src/linux-2.6.12-r10 (or whatever the dir is called)? Just curious, I always just used the rm -fr Samir emerge -C gentoo-sources-2.6.12-r10 or emerge -C =gentoo-sources-2.6.12-r10 -C is short for --unmerge -

Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-17 Thread Myk Taylor
emerge -C gentoo-sources-2.6.12-r10 or emerge -C =gentoo-sources-2.6.12-r10 -C is short for --unmerge --myk C. Beamer wrote: I would like to remove the oldest one - specifically linux-2.6.12-gentoo-r10 -- gentoo-user@gentoo.org mailing list

[gentoo-user] Removing Specific Kernel Sources

2005-12-17 Thread C. Beamer
Hi all, >From all I've ever read and about Linux and the kernel, it has always been recommended that you keep one kernel source older than the one that you are currently running on your system. In this respect, I now have 3 kernel sources on my computer after upgrading today. I would like to rem