On 2016-06-26 23:22 +1000, Russell Coker wrote: > Below is the results of "apt-get dist-upgrade" to upgrade from Jessie to > testing. If I manually upgrade bash-completion first then mount can be > upgraded without problems. > > Preparing to unpack .../mount_2.28-5_amd64.deb ... > Unpacking mount (2.28-5) over (2.27.1-3.1) ... > dpkg: error processing archive /var/cache/apt/archives/mount_2.28-5_amd64.deb > (--unpack): > trying to overwrite '/usr/share/bash-completion/completions/mount', which is > also in package bash-completion 1:2.1-4.3
How could that happen, considering that bash-completion 1:2.1-4.3 is precisely the version which dropped the file in question, and there is not even a newer version in the archive? Did you have a local bash-completion package with the same version as the official one and different contents installed? On 2016-06-26 19:01 +0200, Sven Joachim wrote: > On 2016-06-26 18:42 +0200, Andreas Henriksson wrote: > >> Thanks for your bug report. I apparently forgot to bump the version >> of the already existing Breaks/Replaces statements in previous upload. >> Fixed in git, will be part of next upload. > > The fix in git is wrong (at least not sufficient), though. Or at least unrelated, since changes to the util-linux package will not fix file conflicts in the mount package. > You bumped the Breaks/Replaces combination in util-linux, but really > it needs to be changed in mount, removing the spurious tilde: > > --8<---------------cut here---------------start------------->8--- > diff --git a/debian/control b/debian/control > index cef4980..61f66ba 100644 > --- a/debian/control > +++ b/debian/control > @@ -78,8 +78,8 @@ Section: admin > Pre-Depends: ${misc:Pre-Depends}, ${shlibs:Depends} > Depends: ${misc:Depends} > Suggests: nfs-common (>=1:1.1.0-13) > -Breaks: bash-completion (<< 1:2.1-4.3~) > -Replaces: bash-completion (<< 1:2.1-4.3~) > +Breaks: bash-completion (<< 1:2.1-4.3) > +Replaces: bash-completion (<< 1:2.1-4.3) > Multi-Arch: foreign > Description: tools for mounting and manipulating filesystems > This package provides the mount(8), umount(8), swapon(8), > --8<---------------cut here---------------end--------------->8--- Scratch that, this does not make any sense. I should not comment on bug reports during football half-time breaks. Cheers, Sven