Am 24.02.2010 23:48, schrieb Thanasis:
> I want to revert to the stable version of a specific package
> (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have
> ACCEPT_KEYWORDS="~amd64".
> For that I have put in /etc/portage/package.keywords:
> sys-fs/cryptsetup amd64
> and then I run
> emerge -1 =sys-fs/cryptsetup-1.0.6-r2
> Is that the way I should go?
> Because I tried it, but when I run
> emerge -DNu world
> it still wants to upgrade to sys-fs/cryptsetup-1.1.0.
> 

It is not possible to set keyword "arch" for specific packages only
"~arch". To prevent upgrade you have to mask the never version via
/etc/portage/package.mask

echo "~sys-fs/cryptsetup-1.1.0">>/etc/portage/package.mask
should do the trick. The ~ instead of = masks minor revisions of that
version (for example sys-fs/cryptsetup-1.1.0-r1) too

Greetings

Sebastian



Reply via email to