This is the full terminal output of trying to install the package under
gNewSense (metad) on mipsel:

$ sudo aptitude -u
Selecting previously deselected package mercurial-common.
(Reading database ... 166267 files and directories currently installed.)
Unpacking mercurial-common (from .../mercurial-common_1.0.1-5.1_all.deb) ...
Selecting previously deselected package mercurial.
Unpacking mercurial (from .../mercurial_1.0.1-5.1_mipsel.deb) ...
Processing triggers for man-db ...
Setting up mercurial-common (1.0.1-5.1) ...
Setting up mercurial (1.0.1-5.1) ...
Enabling hgk extension
Enabling highlight extension
Enabling inotify extension

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: Trying to overwrite hgext/inotify/common.py which 
is already provided by /usr/share/python-support/mercurial-common
dpkg: error processing mercurial (--configure):
 subprocess post-installation script returned error exit status 2
Processing triggers for python-support ...
Errors were encountered while processing:
 mercurial
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mercurial (1.0.1-5.1) ...
Enabling hgk extension
Enabling highlight extension
Enabling inotify extension
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: Trying to overwrite hgext/inotify/common.py which 
is already provided by /usr/share/python-support/mercurial-common
dpkg: error processing mercurial (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 mercurial
Press return to continue.


This looks like a Python issue, and not mercurial, but I could be in
err.

$ dpkg -L mercurial{,-common} | grep common.py
/usr/lib/python-support/mercurial/python2.4/hgext/inotify/common.py
/usr/share/python-support/mercurial-common/hgext/convert/common.py
/usr/share/python-support/mercurial-common/hgext/inotify/common.py
/usr/share/python-support/mercurial-common/mercurial/hgweb/common.py

I don't see anything unusual here with no overlapping files.

** Changed in: mercurial (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/400236

Title:
  Mercurial conflicts with python (jaunty sparc at least)

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to