Control: tags -1 + moreinfo
Hi Paul, 2008-10-19 15:44 Paul Menzel:
Subject: aptitude: Does not resolve dependency correctly for hplip. Package: aptitude Version: 0.4.11.10-1 Severity: normal *** Please type your report below this line *** Dear DDs, I safe-upgraded hplip but it suffered from bug #502055 [1], so I manually installed the package from before with dpkg -i /var/cache/apt/archives/hplip_2.8.6.b-1_i386.deb and put hplip and hplip-dbg on hold. When the bug was fixed I put issued unhold for the two packages, but safe-upgrade or install do not work. apt-get works though. Here is the output. $ LANG=C sudo aptitude install hplip Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: hpijs The following packages will be upgraded: hplip 1 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded. Need to get 238kB of archives. After unpacking 12.3kB will be used. The following packages have unmet dependencies: hpijs: Depends: hplip (= 2.8.6.b-1) but 2.8.6.b-3 is to be installed. Unable to resolve dependencies! Giving up... The following packages are BROKEN: hpijs The following packages will be upgraded: hplip 1 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded. Need to get 238kB of archives. After unpacking 12.3kB will be used. aptitude failed to find a solution to these dependencies. You can solve them yourself by hand or type 'n' to quit. The following packages have unmet dependencies: hpijs: Depends: hplip (= 2.8.6.b-1) but 2.8.6.b-3 is to be installed. Resolve these dependencies by hand? [N/+/-/_/:/?] Abort. $ LANG=C sudo aptitude install hplip hplip-dbg Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: hpijs The following packages will be upgraded: hplip hplip-dbg 2 packages upgraded, 0 newly installed, 0 to remove and 8 not upgraded. Need to get 1002kB of archives. After unpacking 12.3kB will be used. The following packages have unmet dependencies: hpijs: Depends: hplip (= 2.8.6.b-1) but 2.8.6.b-3 is to be installed. The following actions will resolve these dependencies: Remove the following packages: hplip-dbg Keep the following packages at their current version: hplip [2.8.6.b-1 (now)] Score is -19809 Accept this solution? [Y/n/q/?] n *** No more solutions available *** The following actions will resolve these dependencies: Remove the following packages: hplip-dbg Keep the following packages at their current version: hplip [2.8.6.b-1 (now)] Score is -19809 Accept this solution? [Y/n/q/?] q Abandoning all efforts to resolve these dependencies. Abort. $ LANG=C sudo apt-get install hplip Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: hpijs hplip-dbg Suggested packages: hpijs-ppds hplip-doc kdeprint gtklp xpp openprinting-ppds The following packages will be upgraded: hpijs hplip hplip-dbg 3 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. Need to get 1322kB of archives. After this operation, 16.4kB disk space will be freed. Do you want to continue [Y/n]? n Abort. I have not installed the packages, so I can help debugging. I also issued aptitude-create-state-bundle. The file is 37 MB big. Tell me if you need it.
Maybe I am missing something, the sequence of actions is a bit confusing, but as far as I can see, the problem is that "hpijs: Depends: hplip (= 2.8.6.b-1) but 2.8.6.b-3 is to be installed". In the last of the commands, it correctly suggests to upgrade "hpijs hplip hplip-dbg", which in principle should be a valid solution. Was it not so? In any case, the resolver changed a lot in the years after this bug report, and after so many years, I do not think that we can do much about this bug report. Cheers. -- Manuel A. Fernandez Montecelo <[email protected]> _______________________________________________ Aptitude-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

