aptitude does not respect /etc/apt/preferences
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aptitude
~$ cat /etc/apt/
Package: backintime-common backintime-kde4
Pin: release a=stable
Pin-Priority: 810
Package: *
Pin: release a=karmic
Pin-Priority: 800
Package: *
Pin: release a=jaunty-updates
Pin-Priority: 701
Package: *
Pin: release a=jaunty
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
Package: firefox-3.5
Pin: version 3.5.5*
Pin-Priority: 1001
bruce@Xenophon:~$ apt-cache policy firefox-3.5
firefox-3.5:
Installed: 3.5.5+nobinonly
Candidate: 3.5.5+nobinonly
Package pin: 3.5.5+nobinonly
Version table:
3.
800 http://
*** 3.5.5+nobinonly
500 http://
500 http://
100 /var/lib/
3.
800 http://
bruce@Xenophon:~$ sudo aptitude --with-recommends full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
firefox-
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/159kB of archives. After unpacking 49.2kB will be freed.
The following packages have unmet dependencies:
firefox-
The following actions will resolve these dependencies:
Upgrade the following packages:
firefox-3.5 [3.5.5+
Score is 80
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
bruce@Xenophon:~$
ProblemType: Bug
Architecture: amd64
Date: Wed Dec 2 01:50:34 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelMo
Package: aptitude 0.4.11.11-1ubuntu6
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: aptitude
Uname: Linux 2.6.31-14-generic x86_64
Ouch. This just "upgraded" my netatalk package, replacing my openssl-enabled version and knocking all the Mac OS 9 clients used for running critical legacy apps off the network. Yes, I should've noticed it in the (huge) list of packages affected, but then aptitude shouldn't have upgraded it either.
$ cat /etc/apt/ preferences. d/netatalk
Package: netatalk
Pin: origin ""
Pin-Priority: 1001
Prefer aptitude over apt-get, indeed.