Bug#836220: apt: Upgrading apt from 1.2.13 to 1.3~rc3 fails
Package: apt
Version: 1.3~rc3
Severity: important
Hi,
This is what happens when I'm trying to upgrade a Debian Sid which I
haven't updated for a few weeks:
~~~~~
$ apt-get install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apt-utils
Suggested packages:
apt-doc powermgmt-base python-apt
The following packages will be upgraded:
apt apt-utils
2 upgraded, 0 newly installed, 0 to remove and 119 not upgraded.
Need to get 0 B/1580 kB of archives.
After this operation, 180 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 518975 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.3~rc3_amd64.deb ...
Unpacking apt (1.3~rc3) over (1.2.13) ...
dpkg: error processing archive /var/cache/apt/archives/apt_1.3~rc3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/apt/solvers/dump', which is also in package apt-utils 1.2.13
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/apt_1.3~rc3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
~~~~~
Looks like it fails because apt-utils is not updated before apt?
Regards, Linus
PS: System Information below unrelated, the system I'm having trouble with is a VM.
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/preferences.d/universe-factory present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (no /etc/apt/sources.list.d/* present) --
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armhf (armv7l)
Kernel: Linux 4.2.3-00234-g11acd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.115
ii debian-archive-keyring 2014.3
ii gpgv 2.1.14-5
ii init-system-helpers 1.42
ii libapt-pkg5.0 1.3~rc3
ii libc6 2.23-4
ii libgcc1 1:6.1.1-12
ii libstdc++6 6.1.1-12
Versions of packages apt recommends:
ii gnupg 2.1.14-5
ii gnupg2 2.1.14-5
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.3-1
ii dpkg-dev 1.18.10
pn powermgmt-base <none>
ii python-apt 1.1.0~beta4
-- no debconf information
Reply to: