* [gentoo-user] keeping an installed version
@ 2009-03-19 21:48 Michael P. Soulier
2009-03-19 22:04 ` Neil Bothwick
2009-03-19 22:05 ` Alan McKinnon
0 siblings, 2 replies; 4+ messages in thread
From: Michael P. Soulier @ 2009-03-19 21:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
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.
Thanks,
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] keeping an installed version
2009-03-19 21:48 [gentoo-user] keeping an installed version Michael P. Soulier
@ 2009-03-19 22:04 ` Neil Bothwick
2009-03-19 22:05 ` Alan McKinnon
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2009-03-19 22:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Thu, 19 Mar 2009 17:48:41 -0400, Michael P. Soulier wrote:
> [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.
Because 169.07 is no longer in portage, you've masked out newer versions
so an older one is the only option.
If you want to lock a package to a specific version, you should copy the
ebuild to your overlay to stop this happening.
--
Neil Bothwick
Is it true that cannibals don't eat clowns because they taste funny?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] keeping an installed version
2009-03-19 21:48 [gentoo-user] keeping an installed version Michael P. Soulier
2009-03-19 22:04 ` Neil Bothwick
@ 2009-03-19 22:05 ` Alan McKinnon
2009-03-20 2:20 ` [gentoo-user] " ABCD
1 sibling, 1 reply; 4+ messages in thread
From: Alan McKinnon @ 2009-03-19 22:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: keeping an installed version
2009-03-19 22:05 ` Alan McKinnon
@ 2009-03-20 2:20 ` ABCD
0 siblings, 0 replies; 4+ messages in thread
From: ABCD @ 2009-03-20 2:20 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan McKinnon wrote:
> 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
>
That file will be found on your system at:
/var/db/pkg/media-video/nvidia-settings-169.07/nvidia-settings-169.07.ebuild
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknC/XkACgkQOypDUo0oQOq8yQCg3Lh7OYKbwXXuP1rT6tlD3n6J
nAkAoK2rXkWrHZeYHeEn+lkxrgGU56cN
=qima
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-20 2:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 21:48 [gentoo-user] keeping an installed version Michael P. Soulier
2009-03-19 22:04 ` Neil Bothwick
2009-03-19 22:05 ` Alan McKinnon
2009-03-20 2:20 ` [gentoo-user] " ABCD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox