Bug#796070: apt: Downgrading apt to 1.0.10.1 doesn't remove libapt-pkg5.0
On Wed, Aug 19, 2015 at 09:41:40AM +0200, Elimar Riesebieter wrote:
> Package: apt
> Version: 1.1~exp9
> Severity: normal
>
> root@galadriel>tty1 /etc/apt # apt-get install apt=1.0.10.1 (git)-[master]
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
> aptitude | synaptic | wajig apt-doc
> The following packages will be REMOVED:
> libapt-pkg5.0
> The following packages will be DOWNGRADED:
> apt
> 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 2 not upgraded.
> Need to get 0 B/1.090 kB of archives.
> After this operation, 2.586 kB disk space will be freed.
> Do you want to continue? [Y/n]
> [master 79eda93] saving uncommitted changes in /etc prior to apt run
> Author: Elimar Riesebieter <riesebie@lxtec.de>
> 1 file changed, 5 insertions(+), 5 deletions(-)
> dpkg: warning: downgrading apt from 1.1~exp9 to 1.0.10.1
> (Reading database ... 148466 files and directories currently installed.)
> Preparing to unpack .../apt_1.0.10.1_amd64.deb ...
> Unpacking apt (1.0.10.1) over (1.1~exp9) ...
> Processing triggers for man-db (2.7.2-1) ...
> dpkg: dependency problems prevent configuration of apt:
> libapt-pkg5.0:amd64 (1.1~exp9) breaks apt (<< 1.1~exp4) and is installed.
> Version of apt to be configured is 1.0.10.1.
>
Downgrades are not supported, but you are right that this is a mistake
in the ordering code. I suspect this is because APT treats itself as
essential, and thus does not want to break the installed APT by
removing it's library.
But we'll check if this is reproducible with other packages and
non-downgrades.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
- If you don't I might ignore you.
Reply to: