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

Bug#557051: myspell-de-de-oldspell and hunspell-de-de-frami: error when trying to install together



Package: hunspell-de-de-frami,myspell-de-de-oldspell
Version: hunspell-de-de-frami/1:3.2.0~beta-1
Version: myspell-de-de-oldspell/1:2-25.1
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2009-11-19
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!
  dictionaries-common hunspell-de-de-frami myspell-de-de-oldspell
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package dictionaries-common.
(Reading database ... 10432 files and directories currently installed.)
Unpacking dictionaries-common (from .../dictionaries-common_1.3.2_all.deb) ...
Adding `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Selecting previously deselected package hunspell-de-de-frami.
Unpacking hunspell-de-de-frami (from .../hunspell-de-de-frami_1%3a3.2.0~beta-1_all.deb) ...
Selecting previously deselected package myspell-de-de-oldspell.
Unpacking myspell-de-de-oldspell (from .../myspell-de-de-oldspell_1%3a2-25.1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/myspell-de-de-oldspell_1%3a2-25.1_all.deb (--unpack):
 trying to overwrite '/usr/share/hunspell/de_DE.aff', which is also in package hunspell-de-de-frami 1:3.2.0~beta-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/myspell-de-de-oldspell_1%3a2-25.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violate
section 7.6.1 of the policy. Possible solutions are to have the two
packages conflict, to rename the common file in one of the two
packages, or to remove the file from one package and have this package
depend on the other package. File diversions or a Replace relation are
another possibility.

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/share/hunspell/de_DE.aff
  usr/share/hunspell/de_DE.dic
  usr/share/myspell/dicts/de_DE.aff
  usr/share/myspell/dicts/de_DE.dic
  

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.

-Ralf.

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



Reply to: