On Thursday 19 March 2009 23:48:41 Michael P. Soulier wrote:
> Hi,
>
> I'm trying to understand package masking. If I want to keep a version of a
> package, if I mask-out anything higher than the current version then I
> figured that would accomplish the task.
>
> Currently I have media-video/nvidia-settings-169.07
>
> If I want to keep this, I thought I could add this to
> /etc/portage/package.mask
>
> >media-video/nvidia-settings-169.07
>
> but if I run
>
> emerge --update --pretend --deep world
>
> I get
>
> [ebuild     UD] media-video/nvidia-settings-1.0.20070621 [169.07]
>
> I don't understand why it wants to downgrade the package from 169.07. I'm
> obviously missing something.

You asked for an update so portage will examine the tree and update everything 
that can be updated.

nvidia-settings-169.07 is NOT in the tree so portage wants to update it, and 
the only version that satisfies is 1.0.20070621. It is also the only possible 
version left for you to use after that mask.

I recommend you find the ebuild for your current version in /var somewhere and 
mvoe it to a local overlay where it can be safe

-- 
alan dot mckinnon at gmail dot com

Reply via email to