Bug#768473: apt: dist-upgrade: install new DPKG earlier
Package: apt
Version: 0.9.7.9+deb7u6
Severity: normal
This issue was found when upgrading a host from Wheezy to Jessie using the following recipe on 2014-11-07 just after the freeze started:
sudo apt-get update && sudo apt-get --purge dist-upgrade && sudo apt-get --purge autoremove $(deborphan --guess-all)
When running 'apt-get dist-upgrade' newer DPKG versions should get unpacked and configured much earlier, preferably right after all of its Pre-Depends and Depends have been updated. This would be desirable to ensure that packages which utilize recent 'dpkg-maintscript-helper' features do not fail at manipulating configuration files.
-- System Information:
Debian Release: 7.7
APT prefers testing
APT policy: (1001, 'testing'), (1001, 'oldstable'), (101, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2014.1~deb7u1
ii gnupg 1.4.12-7+deb7u6
ii libapt-pkg4.12 0.9.7.9+deb7u6
ii libc6 2.19-12
ii libgcc1 1:4.9.1-19
ii libstdc++6 4.9.1-19
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.6.8.2-1
ii dpkg-dev 1.16.15
ii python-apt 0.8.8.2
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: