[Python-apps-team] Bug#961245: mercurial-common: trying to overwrite '/usr/lib/python2.7/dist-packages/hgext/git/__init__.py', which is also in package mercurial-git 0.8.12-1.2

Axel Beckert abe at debian.org
Thu May 21 23:22:07 BST 2020


Package: mercurial-common
Version: 5.4-1
Severity: serious

Hi,

upgrading mercurial-common fails due to a file conflict with
mercurial-git as follows:

Preparing to unpack .../mercurial-common_5.4-1_all.deb ...
Unpacking mercurial-common (5.4-1) over (5.3.2-1) ...
dpkg: error processing archive /var/cache/apt/archives/mercurial-common_5.4-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/python2.7/dist-packages/hgext/git/__init__.py', which is also in package mercurial-git 0.8.12-1.2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mercurial-common_5.4-1_all.deb

It seems as if the source package mercurial is overtaking the git
backend from the mercurial-git package (currently uninstallable due to
the removal of the python-dulwich package) of the hg-git source package.

So I'm only filing this against mercurial-common as Replaces and Breaks
headers seem missing. Another solution (which needs to come anyway
sometime soon) might be to switch this to Python 3.

In case hg-git is not about to being removed from unstable anyway and
this is a conflict which needs to be resolved on both sides, feel free
to reassign this bug against both packages until the conflict is
resolved.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: i386



More information about the Python-apps-team mailing list