Control: retitle -1 apt: Confusing error messages when trying to install a package against which exists a "Breaks" in an already installed package
Hi, Klaus Ethgen wrote: > I had the following on a other node that I don't want to send mails at > all. So I purged the package informations below and will give the > versions by hand. > > Affected apt version: 1.0.5 (amd64) > > > apt-get install libdbd-anydata-perl > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > libdbd-anydata-perl : Depends: libdbi-perl (>= 1.612) but it is not going > to be installed > E: Unable to correct problems, you have held broken packages. > > apt-cache policy libdbi-perl > libdbi-perl: > Installed: 1.631-3 > Candidate: 1.631-3 > Version table: > *** 1.631-3 0 > 500 ftp://ftp.de.debian.org/debian/ sid/main amd64 Packages > 100 /var/lib/dpkg/status > > dpkg --compare-versions 1.631-3 '>=' 1.612; echo $? > 0 > > So apt wrongly don't take 1.631-3 bigger than 1.612. Nope. The reason is that libdbi-perl version 1.631-3 "Breaks libdbd-anydata-perl (<< 0.11+)" (which has been removed from Sid btw.). Hence the only thing which is at least confusing is the claim the combination of "libdbi-perl (>= 1.612)" and "is not going to be installed" despite it is already installed. I suspect this is because apt internally tried to see if downgrading would be an option and then noticed that it isn't an option and only gives the reason for why downgrading is not an option without providing any detail. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org