[Openstack] Fwd: Bug#631834: python-novaclient and simh: error when trying to install together

Thomas Goirand thomas at goirand.fr
Tue Jun 28 03:53:27 UTC 2011


Less fun guys. Here's what an upload to SID revealed (see below).

I'll conflict the 2 packages, I guess the issue is in Ubuntu as well.

Thomas

-------- Original Message --------
Subject: Bug#631834: python-novaclient and simh: error when trying to
install together
Resent-Date: Mon, 27 Jun 2011 16:18:02 +0000
Resent-From: Ralf Treinen <treinen at free.fr>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Vince Mulhollon <vlm at debian.org>, Thomas Goirand
<zigo at debian.org>
Date: Mon, 27 Jun 2011 17:50:15 +0200
From: Ralf Treinen <treinen at free.fr>
Reply-To: Ralf Treinen <treinen at free.fr>, 631834 at bugs.debian.org
To: submit at bugs.debian.org

Package: simh,python-novaclient
Version: simh/3.8.1-2
Version: python-novaclient/2.4-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-06-27
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


WARNING: The following packages cannot be authenticated!
  mime-support python2.6-minimal libdb4.8 libexpat1 python2.6 python-minimal
  python python-support python-argparse python-httplib2 python-pkg-resources
  python-prettytable python-novaclient simh
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package mime-support.
(Reading database ... 9217 files and directories currently installed.)
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from
.../python2.6-minimal_2.6.7-1_amd64.deb) ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-8_amd64.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.7-1_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.6-14_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.6-14_all.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.13_all.deb) ...
Selecting previously deselected package python-argparse.
Unpacking python-argparse (from .../python-argparse_1.1-1_all.deb) ...
Selecting previously deselected package python-httplib2.
Unpacking python-httplib2 (from .../python-httplib2_0.7.0-1_all.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from
.../python-pkg-resources_0.6.16-1_all.deb) ...
Selecting previously deselected package python-prettytable.
Unpacking python-prettytable (from .../python-prettytable_0.5-1_all.deb) ...
Selecting previously deselected package python-novaclient.
Unpacking python-novaclient (from .../python-novaclient_2.4-2_all.deb) ...
Selecting previously deselected package simh.
Unpacking simh (from .../simh_3.8.1-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/simh_3.8.1-2_amd64.deb
(--unpack):
 trying to overwrite '/usr/share/man/man1/nova.1.gz', which is also in
package python-novaclient 2.4-2
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/simh_3.8.1-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /usr/bin/nova
  /usr/share/man/man1/nova.1.gz

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may
also register in the BTS that the other package is affected by the bug.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.







More information about the Openstack mailing list