[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619528: marked as done (python3-apt and python3-apt-dbg: error when trying to install together)



Your message dated Mon, 04 Apr 2011 12:03:03 +0000
with message-id <E1Q6iUp-0007Er-Rx@franck.debian.org>
and subject line Bug#619528: fixed in python-apt 0.7.100.3
has caused the Debian Bug report #619528,
regarding python3-apt and python3-apt-dbg: error when trying to install together
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
619528: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619528
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python3-apt-dbg,python3-apt
Version: python3-apt-dbg/0.7.100.2
Version: python3-apt/0.7.100.2
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2011-03-24
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 libexpat1 python2.6 python-minimal python
  libffi5 python3.1-minimal python3.1 python3-minimal python3
  python-apt-common python3-apt python3.1-dbg python3-dbg python3-apt-dbg
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package mime-support.
(Reading database ... 8746 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.6-8+b1_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.6-8+b1_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.6-12_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.6-12_all.deb) ...
Selecting previously deselected package libffi5.
Unpacking libffi5 (from .../libffi5_3.0.9-3_amd64.deb) ...
Selecting previously deselected package python3.1-minimal.
Unpacking python3.1-minimal (from .../python3.1-minimal_3.1.3-1_amd64.deb) ...
Selecting previously deselected package python3.1.
Unpacking python3.1 (from .../python3.1_3.1.3-1_amd64.deb) ...
Selecting previously deselected package python3-minimal.
Unpacking python3-minimal (from .../python3-minimal_3.1.3-13_all.deb) ...
Selecting previously deselected package python3.
Unpacking python3 (from .../python3_3.1.3-13_all.deb) ...
Selecting previously deselected package python-apt-common.
Unpacking python-apt-common (from .../python-apt-common_0.7.100.2_all.deb) ...
Selecting previously deselected package python3-apt.
Unpacking python3-apt (from .../python3-apt_0.7.100.2_amd64.deb) ...
Selecting previously deselected package python3.1-dbg.
Unpacking python3.1-dbg (from .../python3.1-dbg_3.1.3-1_amd64.deb) ...
Selecting previously deselected package python3-dbg.
Unpacking python3-dbg (from .../python3-dbg_3.1.3-13_all.deb) ...
Selecting previously deselected package python3-apt-dbg.
Unpacking python3-apt-dbg (from .../python3-apt-dbg_0.7.100.2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/python3-apt-dbg_0.7.100.2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/apt_pkg.cpython-31dmu.so', which is also in package python3-apt 0.7.100.2
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/python3-apt-dbg_0.7.100.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/lib/python3/dist-packages/apt_inst.cpython-31dmu.so
  /usr/lib/python3/dist-packages/apt_pkg.cpython-31dmu.so

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



--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.100.3

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive:

python-apt-common_0.7.100.3_all.deb
  to main/p/python-apt/python-apt-common_0.7.100.3_all.deb
python-apt-dbg_0.7.100.3_amd64.deb
  to main/p/python-apt/python-apt-dbg_0.7.100.3_amd64.deb
python-apt-dev_0.7.100.3_all.deb
  to main/p/python-apt/python-apt-dev_0.7.100.3_all.deb
python-apt-doc_0.7.100.3_all.deb
  to main/p/python-apt/python-apt-doc_0.7.100.3_all.deb
python-apt_0.7.100.3.dsc
  to main/p/python-apt/python-apt_0.7.100.3.dsc
python-apt_0.7.100.3.tar.gz
  to main/p/python-apt/python-apt_0.7.100.3.tar.gz
python-apt_0.7.100.3_amd64.deb
  to main/p/python-apt/python-apt_0.7.100.3_amd64.deb
python3-apt-dbg_0.7.100.3_amd64.deb
  to main/p/python-apt/python3-apt-dbg_0.7.100.3_amd64.deb
python3-apt_0.7.100.3_amd64.deb
  to main/p/python-apt/python3-apt_0.7.100.3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 619528@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Mon, 04 Apr 2011 12:52:03 +0200
Source: python-apt
Binary: python-apt python-apt-doc python-apt-dbg python-apt-dev python-apt-common python3-apt python3-apt-dbg
Architecture: source amd64 all
Version: 0.7.100.3
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-common - Python interface to libapt-pkg (locales)
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
 python-apt-dev - Python interface to libapt-pkg (development files)
 python-apt-doc - Python interface to libapt-pkg (API documentation)
 python3-apt - Python 3 interface to libapt-pkg
 python3-apt-dbg - Python 3 interface to libapt-pkg (debug extension)
Closes: 610448 619528
Changes: 
 python-apt (0.7.100.3) unstable; urgency=low
 .
   [ Barry Warsaw ]
   * PyFetchProgress::Pulse(): When ignoring a false return value from
     PyArg_Parse() after running the simple callback pulse(), there can be
     an exception on the stack, which must be cleared.  (LP: #711225)
 .
   [ Michael Vogt ]
   * python/arfile.cc, apt/debfile.py:
     - add support for .xz archives
   * tests/test_debfile.py:
     - add test for xz compression
   * update priority of python3-apt to match the archive
 .
   [ Julian Andres Klode ]
   * python/cache.cc:
     - Add Package.get_fullname() and Package.architecture
   * apt/cache.py, apt/package.py:
     - Add architecture property to apt.Package (LP: #703472)
     - Change apt.Package.name to use get_fullname(pretty=True) (LP: #740072)
   * tests/test_debfile.py:
     - Disable multi-arch for the test, it fails when run via test_all.py
     - Fix mixed tab/spaces indentation in xz test
   * tests/test_apt_cache.py:
     - Package records 'Package' field now corresponds to shortname
   * debian/python3-apt-dbg.install
     - Do not try to install old-style debugging files.
   * debian/rules:
     - Support the nocheck build option and ignore test failures on hurd
       (Closes: #610448)
     - Move Python 3 debug files before installing other files (Closes: #619528)
 .
   [ Scott Kitterman ]
    * Removed ${python:Breaks} - No longer used in dh_python2
Checksums-Sha1: 
 1e55ff7ac6f8ac2db1c76e244ce039d018548de5 1304 python-apt_0.7.100.3.dsc
 2c8c259aef7419c0eea9035acd213ce969b5e1ae 336254 python-apt_0.7.100.3.tar.gz
 e2688f76767f163e7ec20fe3edcb2fd3327f51fc 194166 python-apt_0.7.100.3_amd64.deb
 a64e53319ed950569f39a540364a208abe90eff0 206844 python-apt-doc_0.7.100.3_all.deb
 0ea915f8c60d2154774b1567aa14de615ad08fd2 1462348 python-apt-dbg_0.7.100.3_amd64.deb
 8b92152bdbacd1a443545a4b415db20bcbc16eb3 7388 python-apt-dev_0.7.100.3_all.deb
 7c096ca2924dd48f43aa3391d8f628293b715fa6 82898 python-apt-common_0.7.100.3_all.deb
 a8b40804385ff6726f3a4588f3b341f567a8ed7c 178830 python3-apt_0.7.100.3_amd64.deb
 7eaa2e8387919faa1bd4ac7a2cfbe5ee1da6a7e3 1366118 python3-apt-dbg_0.7.100.3_amd64.deb
Checksums-Sha256: 
 76725b34f7e555f7786d5604a1fd99c8418fe53d9f709497d0f8a20ea09b616d 1304 python-apt_0.7.100.3.dsc
 9b160e1be52f012264e8cf827bdb665ddaca1598ae415c3a2098f987df370877 336254 python-apt_0.7.100.3.tar.gz
 5a4852730916c80ab622e37c20ee7097f03bbd064e173ea54af67d94f4265384 194166 python-apt_0.7.100.3_amd64.deb
 094be8dc8fcf1546a0980a4013aa6b99a57acfa7304f163cd2fd3543a7397c49 206844 python-apt-doc_0.7.100.3_all.deb
 269dd485d67c557938cc41b5c232b29648826b12b48c707ed96a06477a38dc3f 1462348 python-apt-dbg_0.7.100.3_amd64.deb
 5268c605d01554cacf23fabc38509cdd9eeee19f92a0c8045d3eb8aeb34ffb6a 7388 python-apt-dev_0.7.100.3_all.deb
 63b1f4e390cd2e0bacece0ca5e30903aeb8b7080622d5f76c596b6707e10b114 82898 python-apt-common_0.7.100.3_all.deb
 64d66f1f73bb878b30f88da05e8a90df9da983db528e65ad74d192c7e4cec290 178830 python3-apt_0.7.100.3_amd64.deb
 b4bbe067a401d86ddc3c5f6ee1c77c2c038c9bd08f91f72f0cdbbc09f371df21 1366118 python3-apt-dbg_0.7.100.3_amd64.deb
Files: 
 1314e8b4fed5f8e5da7fd6e8ca6be7c9 1304 python standard python-apt_0.7.100.3.dsc
 07fe055a6747e27b3f54c5f81dc8b44c 336254 python standard python-apt_0.7.100.3.tar.gz
 51cb1bd319bfb3b2a12acb7990b8f2aa 194166 python standard python-apt_0.7.100.3_amd64.deb
 17f64e8c8f08b27559baa12aabd92502 206844 doc optional python-apt-doc_0.7.100.3_all.deb
 d119f6953b9d67438df02c6c55744d75 1462348 debug extra python-apt-dbg_0.7.100.3_amd64.deb
 1691e171541a867aa522f696f09dc24c 7388 python optional python-apt-dev_0.7.100.3_all.deb
 122cc952150ad767005b08a7fc2110ea 82898 python optional python-apt-common_0.7.100.3_all.deb
 01eb20c2f72d75b074de007838fa4277 178830 python optional python3-apt_0.7.100.3_amd64.deb
 d6904fdfc83cecfbd6fba4327661ef0e 1366118 debug extra python3-apt-dbg_0.7.100.3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEAREDAAYFAk2ZpGgACgkQrCpf/gCCPsLeUQCgrICOJWcrKjLljbqppCt0VSi6
GvcAnjQTAB9WhJQ9RCZPcauvimHebSCt
=t6Wo
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: