On Monday 19 September 2005 07:57, Yann Garnier wrote:
> Greetings everyone,
>
> Can anybody tell me why portage constantly upgrade and then downgrade
> GCC (versions 3.3.5 & 3.3.6) each time I "emerge -pvuD world" ???

A little trick I do when this kind of stuff happens.  In portage, there's a 
file called /etc/portage/package.mask.  You can use it to mask packages that 
aren't in /usr/portage/profile/package.mask.  It is however, useful in 
finding out why packages are downgrading.  So, here's what you can do:

echo "=sys-devel/gcc-3.3.5" >> /etc/portage/package.mask

This will mask gcc 3.3.5.  Now, when the package that wants gcc 3.3.5 is about 
to be emerged, portage will notice that gcc 3.3.5 is masked and complain.  
This complaining will do the nice favor of showing you what package needs it, 
and find out why it does.  After this you'll want to remove the package.mask 
entry to avoid any sort of chaos.  Hope this helps.

> In advance thank you
>
> Yann Garnier

Chris White

Attachment: pgp8t9uDCWrXF.pgp
Description: PGP signature

Reply via email to