-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jesse Adelman wrote:
> Hi, all. I want to do an "emerge -uDN world", mostly to update Xorg to the 
> newest
> stable version. However, I have one package that I don't want to update, that
> being media-tv/mythtv. Now, the version of mythtv (and associated mythtv 
> plugins)
> that I have installed currently has been removed from Portage, so the normal
> package.mask changes don't appear to work and only offer a downgrade. I know I
> could just do each update individually (and get around this), but I'd like to 
> stay
> lazy and let "emerge -uDN world" just work. ;)
> 
> The nitty gritty:
> 
> I have installed:
> 
> media-tv/mythtv-0.20_p13288
> 
> Portage has an update:
> 
> media-tv/mythtv-0.20.1_p13344
> 
> But when I put this into package.mask
> 
>> =media-tv/mythtv-0.20.1_p13344
> 
> It then wants to downgrade to:
> 
> media-tv/mythtv-0.20_p13110
> 
> which I don't want.

You have to mask all versions both higher and lower than the version
that you want to be locked at:

echo ">media-tv/mythtv-0.20_p13288" >> /etc/portage/package.mask
echo "<media-tv/mythtv-0.20_p13288" >> /etc/portage/package.mask

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGN4RK/ejvha5XGaMRAoVOAKCZNTiR3v2m28qvZXdOWfuKDS44WwCfbM7W
W7zDR2L5aL5lnwkKlYLHTkQ=
=GRvP
-----END PGP SIGNATURE-----
-- 
[EMAIL PROTECTED] mailing list

Reply via email to