Thread: Emerge-Question
View Single Post

   
  #2 (permalink)  
Old 02-21-2008, 07:37 AM
Styvaen
 
Posts: n/a
Default Re: Emerge-Question

Hans Ratmich wrote:

> Hello,
>
> I removed via emerge --unmerge several packages that are of no need for me
> (e.g. kernel-headers 2.4.21 and gaming kernel 2.4.22), since I am using
> kernel 2.4.24 build from the 2.4.24 vanilla sources.
>
> Why the heck does emerge want to reinstall these packages everytime I am
> doing an emerge --update world? My system initially came with these
> kernels, but meanwhile, I removed the kernels.
>
> How can I prevent this? How do I tell portage not to reinstall these
> packages?
>
> Thank you a lot in advance!


Have a look in /var/cache/edb/virtuals
You want the line that starts with virtual/linux-sources

This file is safe to edit as long as you are careful.

Styvaen.

Reply With Quote