Bug#677461: liblapack-doc-man and libblas-doc: error when trying to install together

Ralf Treinen treinen at free.fr
Thu Jun 14 06:01:08 UTC 2012


Package: libblas-doc,liblapack-doc-man
Version: libblas-doc/1.2.20110419-3
Version: liblapack-doc-man/3.4.1-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2012-06-14
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!
  libblas-doc liblapack-doc-man
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libblas-doc.
(Reading database ... 10690 files and directories currently installed.)
Unpacking libblas-doc (from .../libblas-doc_1.2.20110419-3_all.deb) ...
Selecting previously unselected package liblapack-doc-man.
Unpacking liblapack-doc-man (from .../liblapack-doc-man_3.4.1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/liblapack-doc-man_3.4.1-1_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man3/ctrsm.3.gz', which is also in package libblas-doc 1.2.20110419-3
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/liblapack-doc-man_3.4.1-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 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/share/man/man3/cgbmv.3.gz
  /usr/share/man/man3/cgemm.3.gz
  /usr/share/man/man3/cgemv.3.gz
  /usr/share/man/man3/cgerc.3.gz
  /usr/share/man/man3/cgeru.3.gz
  /usr/share/man/man3/chbmv.3.gz
  /usr/share/man/man3/chemm.3.gz
  /usr/share/man/man3/chemv.3.gz
  /usr/share/man/man3/cher.3.gz
  /usr/share/man/man3/cher2.3.gz
  /usr/share/man/man3/cher2k.3.gz
  /usr/share/man/man3/cherk.3.gz
  /usr/share/man/man3/chpmv.3.gz
  /usr/share/man/man3/chpr.3.gz
  /usr/share/man/man3/chpr2.3.gz
  /usr/share/man/man3/cscal.3.gz
  /usr/share/man/man3/csymm.3.gz
  /usr/share/man/man3/csyr2k.3.gz
  /usr/share/man/man3/csyrk.3.gz
  /usr/share/man/man3/ctbmv.3.gz
  /usr/share/man/man3/ctbsv.3.gz
  /usr/share/man/man3/ctpmv.3.gz
  /usr/share/man/man3/ctpsv.3.gz
  /usr/share/man/man3/ctrmm.3.gz
  /usr/share/man/man3/ctrmv.3.gz
  /usr/share/man/man3/ctrsm.3.gz
  /usr/share/man/man3/ctrsv.3.gz
  /usr/share/man/man3/dcabs1.3.gz
  /usr/share/man/man3/dgbmv.3.gz
  /usr/share/man/man3/dgemm.3.gz
  /usr/share/man/man3/dgemv.3.gz
  /usr/share/man/man3/dger.3.gz
  /usr/share/man/man3/dsbmv.3.gz
  /usr/share/man/man3/dspmv.3.gz
  /usr/share/man/man3/dspr.3.gz
  /usr/share/man/man3/dspr2.3.gz
  /usr/share/man/man3/dsymm.3.gz
  /usr/share/man/man3/dsymv.3.gz
  /usr/share/man/man3/dsyr.3.gz
  /usr/share/man/man3/dsyr2.3.gz
  /usr/share/man/man3/dsyr2k.3.gz
  /usr/share/man/man3/dsyrk.3.gz
  /usr/share/man/man3/dtbmv.3.gz
  /usr/share/man/man3/dtbsv.3.gz
  /usr/share/man/man3/dtpmv.3.gz
  /usr/share/man/man3/dtpsv.3.gz
  /usr/share/man/man3/dtrmm.3.gz
  /usr/share/man/man3/dtrmv.3.gz
  /usr/share/man/man3/dtrsm.3.gz
  /usr/share/man/man3/dtrsv.3.gz
  /usr/share/man/man3/lsame.3.gz
  /usr/share/man/man3/sgbmv.3.gz
  /usr/share/man/man3/sgemm.3.gz
  /usr/share/man/man3/sgemv.3.gz
  /usr/share/man/man3/sger.3.gz
  /usr/share/man/man3/ssbmv.3.gz
  /usr/share/man/man3/sspmv.3.gz
  /usr/share/man/man3/sspr.3.gz
  /usr/share/man/man3/sspr2.3.gz
  /usr/share/man/man3/ssymm.3.gz
  /usr/share/man/man3/ssymv.3.gz
  /usr/share/man/man3/ssyr.3.gz
  /usr/share/man/man3/ssyr2.3.gz
  /usr/share/man/man3/ssyr2k.3.gz
  /usr/share/man/man3/ssyrk.3.gz
  /usr/share/man/man3/stbmv.3.gz
  /usr/share/man/man3/stbsv.3.gz
  /usr/share/man/man3/stpmv.3.gz
  /usr/share/man/man3/stpsv.3.gz
  /usr/share/man/man3/strmm.3.gz
  /usr/share/man/man3/strmv.3.gz
  /usr/share/man/man3/strsm.3.gz
  /usr/share/man/man3/strsv.3.gz
  /usr/share/man/man3/xerbla.3.gz
  /usr/share/man/man3/zgbmv.3.gz
  /usr/share/man/man3/zgemm.3.gz
  /usr/share/man/man3/zgemv.3.gz
  /usr/share/man/man3/zgerc.3.gz
  /usr/share/man/man3/zgeru.3.gz
  /usr/share/man/man3/zhbmv.3.gz
  /usr/share/man/man3/zhemm.3.gz
  /usr/share/man/man3/zhemv.3.gz
  /usr/share/man/man3/zher.3.gz
  /usr/share/man/man3/zher2.3.gz
  /usr/share/man/man3/zher2k.3.gz
  /usr/share/man/man3/zherk.3.gz
  /usr/share/man/man3/zhpmv.3.gz
  /usr/share/man/man3/zhpr.3.gz
  /usr/share/man/man3/zhpr2.3.gz
  /usr/share/man/man3/zrotg.3.gz
  /usr/share/man/man3/zscal.3.gz
  /usr/share/man/man3/zsymm.3.gz
  /usr/share/man/man3/zsyr2k.3.gz
  /usr/share/man/man3/zsyrk.3.gz
  /usr/share/man/man3/ztbmv.3.gz
  /usr/share/man/man3/ztbsv.3.gz
  /usr/share/man/man3/ztpmv.3.gz
  /usr/share/man/man3/ztpsv.3.gz
  /usr/share/man/man3/ztrmm.3.gz
  /usr/share/man/man3/ztrmv.3.gz
  /usr/share/man/man3/ztrsm.3.gz
  /usr/share/man/man3/ztrsv.3.gz

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





More information about the debian-science-maintainers mailing list