apt/pins: Why does apt try to downgrade?
Hi,
I'm using apt_preferences to follow testing and to use mozilla from
unstable. That works just fine.
Now I've downloaded the mozilla source tar and diff and changed a few
things. I versioned this new package "2:1+rc2-2.1".
Now "apt-get upgrade" wants to downgrade to "2:1+rc2-2". As far as I
understand apt_preferences (5), only packages with a pin of > 1000 are
marked downgradable. I have pin of 700 on version "2:1+rc2-2".
Is this a bug or am I just missing something?
Here's a log:
asterix:~# apt-cache policy mozilla-browser
mozilla-browser:
Installed: 2:1+rc2-2.1
Candidate: 2:1+rc2-2
Package Pin: 2:1+rc2-2
Version Table:
*** 2:1+rc2-2.1 700
100 /var/lib/dpkg/status
2:1+rc2-2 700
80 http://ftp.de.debian.org unstable/main Packages
2:0.9.9-6 700
600 http://ftp.de.debian.org woody/main Packages
asterix:~# apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be DOWNGRADED
libnspr4 libnss3 mozilla-browser mozilla-dom-inspector mozilla-mailnews
mozilla-psm
0 packages upgraded, 0 newly installed, 6 downgraded, 0 to remove and 0 not
upgraded.
Inst mozilla-dom-inspector (2:1+rc2-2 Debian:unstable) []
Inst mozilla-mailnews (2:1+rc2-2 Debian:unstable) []
Inst mozilla-psm (2:1+rc2-2 Debian:unstable) []
Inst libnss3 (2:1+rc2-2 Debian:unstable) []
Inst mozilla-browser (2:1+rc2-2 Debian:unstable) []
Inst libnspr4 (2:1+rc2-2 Debian:unstable)
Conf libnspr4 (2:1+rc2-2 Debian:unstable)
Conf mozilla-browser (2:1+rc2-2 Debian:unstable)
Conf mozilla-dom-inspector (2:1+rc2-2 Debian:unstable)
Conf mozilla-mailnews (2:1+rc2-2 Debian:unstable)
Conf libnss3 (2:1+rc2-2 Debian:unstable)
Conf mozilla-psm (2:1+rc2-2 Debian:unstable)
asterix:~# cat /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 600
Package: *
Pin: release a=unstable
Pin-Priority: 80
Package: libnss3
Pin: release a=unstable
Pin-Priority: 700
Package: libnspr4
Pin: release a=unstable
Pin-Priority: 700
Package: mozilla-browser
Pin: release a=unstable
Pin-Priority: 700
Package: mozilla-dom-inspector
Pin: release a=unstable
Pin-Priority: 700
Package: mozilla-mailnews
Pin: release a=unstable
Pin-Priority: 700
Package: mozilla-psm
Pin: release a=unstable
Pin-Priority: 700
asterix:~#
Thanks
Thomas
--
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: