Package: dacs,httpie
Version: dacs/1.4.27-2
Version: httpie/0.1.6+20120309git-1
Severity: serious
User: [email protected]
Usertags: edos-file-overwrite

Date: 2012-03-11
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!
  libsasl2-2 libldap-2.4-2 libexpat1 libdb4.8 mime-support python2.7-minimal
  python2.7 python-minimal python openssl ca-certificates libdacs1 dacs
  python-pygments python-requests httpie
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libsasl2-2.
(Reading database ... 10555 files and directories currently installed.)
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-4_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.28-1.1_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2_amd64.deb) ...
Selecting previously unselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-11_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.52-1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3~rc1-1_amd64.deb) 
...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3~rc1-1_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-10_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-10_all.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.0g-1_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20120212_all.deb) ...
Selecting previously unselected package libdacs1.
Unpacking libdacs1 (from .../libdacs1_1.4.27-2_amd64.deb) ...
Selecting previously unselected package dacs.
Unpacking dacs (from .../dacs_1.4.27-2_amd64.deb) ...
Selecting previously unselected package python-pygments.
Unpacking python-pygments (from .../python-pygments_1.4+dfsg-2_all.deb) ...
Selecting previously unselected package python-requests.
Unpacking python-requests (from .../python-requests_0.10.1-1_all.deb) ...
Selecting previously unselected package httpie.
Unpacking httpie (from .../httpie_0.1.6+20120309git-1_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/httpie_0.1.6+20120309git-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/http', which is also in package dacs 1.4.27-2
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/httpie_0.1.6+20120309git-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/http

This bug has been filed against 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 then
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/.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to