Bug#799340: libgetdata-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/man/man3/gd_frameoffset.3.gz

Andreas Beckmann anbe at debian.org
Tue Nov 24 18:21:49 UTC 2015


Followup-For: Bug #799340
Control: found -1 0.9.0-2

Hi Alastair,

here we go again :-)
This upgrade path is still not working ...

The debdiff between -1 and -2:

--- libgetdata-0.9.0/debian/control     2015-10-30 03:20:13.000000000 +0100
+++ libgetdata-0.9.0/debian/control     2015-11-21 02:47:51.000000000 +0100
@@ -82,8 +82,8 @@
 
 Package: libgetdata-tools
 Section: libs
-Replaces: libgetdata-util (<< 0.7.3-3)
-Breaks: libgetdata-util (<< 0.7.3-3)
+Breaks: libgetdata-doc (<< 0.8.9-2)
+Replaces: libgetdata-dev (<< 0.8.9-2)
 Architecture: any
 Depends: libgetdata5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: library to read/write dirfile data - extra tools


This wrong in several ways:
* the Breaks+Replaces is against different packages: -doc vs. -dev
* its applied to the wrong package, it needs to be libgetdata-doc gaining a
    Breaks+Replaces: libgetdata-tools (<< 0.8.9-2)
  since libgetdata-doc now ships the files previously in different
  packages
* (dropping the old B+R that seems to be against packages predating
   wheezy (which had 0.7.3-6) looks fine)


JFTR, the current failure output:

  Selecting previously unselected package libgetdata-doc.
  Preparing to unpack .../libgetdata-doc_0.9.0-2_all.deb ...
  Unpacking libgetdata-doc (0.9.0-2) ...
  dpkg: error processing archive /var/cache/apt/archives/libgetdata-doc_0.9.0-2_all.deb (--unpack):
   trying to overwrite '/usr/share/man/man5/dirfile.5.gz', which is also in package libgetdata-tools 0.7.3-6+b2
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libgetdata-doc_0.9.0-2_all.deb


Andreas



More information about the debian-science-maintainers mailing list