Package: aptitude Version: 0.4.11.11-1~lenny1 Hi all, Another example of a lower priority package being favored over a higher priority package when manually upgrading workrave from 1.8.5 to 1.9.0, using workrave. The interactive text interface suggests that an Ubuntu package should be installed: libcairomm-1.0-1 [1.6.0-1 (testing, now) -> 1.6.4-1 (intrepid)] even though the package of libcairomm-1.0-1 in the Debian repository has higher priority: ----------------- # apt-cache policy libcairomm-1.0-1 libcairomm-1.0-1: Installed: 1.6.0-1 Candidate: 1.6.0-1 Version table: 1.6.4-1 0 50 http://ftp.egr.msu.edu unstable/main Packages 1.6.4-1 0 30 http://us.archive.ubuntu.com intrepid/main Packages *** 1.6.0-1 0 990 http://ftp.egr.msu.edu testing/main Packages 100 /var/lib/dpkg/status ----------------- On the other hand he command-line resolver "does the right thing" by suggesting that the higher priority Debian package be installed: (key line) libcairomm-1.0-1 [1.6.0-1 (testing, now) -> 1.6.4-1 (unstable)] ----------------- # aptitude install -s workrave=1.9.0-6 Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages are BROKEN: workrave The following NEW packages will be installed: libgdome2-0{a} The following packages will be REMOVED: workrave-data{u} 1 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 411kB of archives. After unpacking 1188kB will be freed. The following packages have unmet dependencies: workrave: Depends: libcairomm-1.0-1 (>= 1.6.4) but 1.6.0-1 is installed. Depends: workrave-data (= 1.9.0-6) but it is not installable The following actions will resolve these dependencies:
Upgrade the following packages: libcairomm-1.0-1 [1.6.0-1 (testing, now) -> 1.6.4-1 (unstable)] workrave-data [1.8.5-7 (testing, now) -> 1.9.0-6 (unstable)] ----------------- As far as I've tested (very rarely) the command-line resolver seems to satisfy dependencies based on the priority of the packages. A step in the right direction would to have the interactive text resolver use the same logic as the command-line resolver. Thanks! C. --- System information. --- Architecture: i386 Kernel: Linux 2.6.28 Debian Release: 5.0 990 testing security.debian.org 990 testing ftp.egr.msu.edu 980 testing mirror.csclub.uwaterloo.ca 50 unstable ftp.egr.msu.edu 40 experimental http.us.debian.org 30 intrepid us.archive.ubuntu.com 25 unstable mirror.csclub.uwaterloo.ca --- Package information. --- Depends (Version) | Installed ================================================-+-==================== libapt-pkg-libc6.7-6-4.6 | libc6 (>= 2.7-1) | 2.7-16 libcwidget3 | 0.5.12-3 libept0 (>= 0.5.22) | 0.5.25 libgcc1 (>= 1:4.1.1) | 1:4.3.2-1 libncursesw5 (>= 5.6+20071006-3) | 5.7+20081213-1 libsigc++-2.0-0c2a (>= 2.0.2) | 2.0.18-2 libstdc++6 (>= 4.2.1) | 4.3.2-1 libxapian15 | 1.0.7-4 zlib1g (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org