Re: apt/pins: Why does apt try to downgrade?
On Sun, May 19, 2002 at 06:52:25PM +0200, Thomas Schoepf wrote:
> On Sun, May 19, 2002 at 07:25:59AM -0700, Osamu Aoki wrote:
> > Short answer: Use pin of 90 instead of 700 for mozilla-browser and
> > others in /etc/apt/preferences.
> Won't that prevent upgrades when mozilla-browser_2:1+rc2-3 is
> available in unstable? What I want is: use some packages from unstable
> iff they are newer than the currently installed version.
Then set it to 100.
> I don't understand why apt tries to downgrade. I have three versions of
> dist version priority
> testing 2:0.9.9-6 500
> unstable 2:1+rc2-2 700
> "local" 2:1+rc2-2.1 100
> I know that 700 > 500 > 100, but as 2:1+rc2-2.1 > 2:1+rc2-2 apt has
> to downgrade mozilla in order to get the version from unstable, which it
> should only do for priorities > 1000 (according to the manpage).
Anything at 100 is not considered.
Manual (man apt_preferences) states for 100.
100 The currently installed version
0 to 100
Non automatic priorities. These are only
used if the package is not installed and
there is no other version available.
For instance, if package foo has ver-
sions 1.2, 1.1 and 1.0 installed, with 1.1 being
the currently installed version and the priorities
of each version being 900, 100 and 950 repectively
the winning version will be 1.2.
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org