Package: libreadline-gplv2-dev
Version: 5.2-11
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2012-04-23
Architecture: amd64
Distribution: squeeze->wheezy (partial) upgrade

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:


  Selecting previously deselected package libreadline-gplv2-dev.
  Unpacking libreadline-gplv2-dev (from 
.../libreadline-gplv2-dev_5.2-11_amd64.deb) ...
  dpkg: error processing 
/var/cache/apt/archives/libreadline-gplv2-dev_5.2-11_amd64.deb (--unpack):
   trying to overwrite '/usr/share/info/readline.info.gz', which is also in 
package libreadline6-dev 6.1-3


This is a serious bug as it makes installation/upgrade fail, and
violates sections 7.6.1 and 10.1 of the policy.

As this problem can be demonstrated during partial upgrades from squeeze
to wheezy (but not within squeeze or wheezy itself), this indicates a
missing or insufficiently versioned Replaces/Breaks relationship.
But since this particular upgrade ordering is not forbidden by any
dependency relationships, it is possible that apt (or $PACKAGE_MANAGER)
will use this erroneus path on squeeze->wheezy upgrades.

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

  usr/include/readline/chardefs.h
  usr/include/readline/history.h
  usr/include/readline/keymaps.h
  usr/include/readline/readline.h
  usr/include/readline/rlconf.h
  usr/include/readline/rlstdc.h
  usr/include/readline/rltypedefs.h
  usr/include/readline/tilde.h
  usr/share/info/history.info.gz
  usr/share/info/readline.info.gz

The following relationships are currently defined:

Package: libreadline-gplv2-dev
Source: readline5
Version: 5.2-11
Replaces: libreadline5-dev
Depends: libreadline5 (= 5.2-11), libtinfo-dev, dpkg (>= 1.15.4) | install-info
Conflicts: libreadline-dev, libreadline5-dev


-Andreas

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

Attachment: libreadline6-dev=6.1-3_libreadline-gplv2-dev=5.2-11.log.gz
Description: GNU Zip compressed data

Reply via email to