On 2014-04-28 17:49 +0200, Andras Korn wrote: > Package: dpkg > Version: 1.17.7 > Severity: normal > > Hi, > > I tried to install dstat on a relatively recent sid system:
What does "relatively recent" mean? > # apt-get -u install dstat > [...] > The following NEW packages will be installed: > dstat > 0 upgraded, 1 newly installed, 0 to remove and 323 not upgraded. > Need to get 50.5 kB of archives. > After this operation, 351 kB of additional disk space will be used. > Get:1 http://cdn.debian.net/debian/ sid/main dstat all 0.7.2-4 [50.5 kB] > Fetched 50.5 kB in 6s (8,254 B/s) > Selecting previously unselected package dstat. > (Reading database ... 38323 files and directories currently installed.) > Unpacking dstat (from .../archives/dstat_0.7.2-4_all.deb) ... > Processing triggers for man-db ... > dpkg: dependency problems prevent configuration of dstat: > dstat depends on python:any (>= 2.6.6-7~). > > dpkg: error processing dstat (--configure): > dependency problems - leaving unconfigured > Errors were encountered while processing: > dstat > E: Sub-process /usr/bin/dpkg returned an error code (1) > > Huh? apt-get should've taken care of that, surely? Yes, if you have at least apt 0.9.12. > So it turns out the python package was already 2.7.5-3, but for some reason > that didn't satisfy a dependency on python:any (>= 2.6.6-7~) as far as dpkg > was concerned, but did satisfy it as far as apt-get was concerned. Only python 2.7.5-5 added the necessary "Multi-Arch: allowed" field, that's why you got the error with earlier versions. > To me it looks like apt-get was right and dpkg was wrong. No, it's the other way around. See #723586 if your apt package is older than 0.9.12. Cheers, Sven -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

