tag 658711 patch pending thanks Andreas Beckmann <[email protected]> (05/02/2012): > Package: dmedia > Version: 0.6.0~repack-1 > Severity: serious > User: [email protected] > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package fails to upgrade from > 'sid' to 'experimental'. > It installed fine in 'sid', then the upgrade to 'experimental' fails > because it tries to overwrite other packages files without declaring a > replaces relation.
Hi, please find attached the patch for my NMU, fixing that bug by adding 3 Replaces fields. Mraw, KiBi.
diff -Nru dmedia-0.6.0~repack/debian/changelog dmedia-0.6.0~repack/debian/changelog
--- dmedia-0.6.0~repack/debian/changelog 2011-05-15 08:46:23.000000000 +0000
+++ dmedia-0.6.0~repack/debian/changelog 2012-02-19 12:45:44.000000000 +0000
@@ -1,3 +1,13 @@
+dmedia (0.6.0~repack-1.1) experimental; urgency=low
+
+ * Non-maintainer upload.
+ * Fix upgradability issues from the “monolithic packages” to the split
+ packages by adding Replaces against {,python-}dmedia (<< 0.6.0~repack)
+ to the dmedia-{gtk,importer,service} packages as appropriate
+ (Closes: #658711).
+
+ -- Cyril Brulebois <[email protected]> Sun, 19 Feb 2012 12:16:47 +0000
+
dmedia (0.6.0~repack-1) experimental; urgency=low
* New upstream release.
diff -Nru dmedia-0.6.0~repack/debian/control dmedia-0.6.0~repack/debian/control
--- dmedia-0.6.0~repack/debian/control 2011-05-15 08:46:23.000000000 +0000
+++ dmedia-0.6.0~repack/debian/control 2012-02-19 12:44:18.000000000 +0000
@@ -54,6 +54,7 @@
${misc:Depends},
${python:Depends}
Recommends: dmedia-importer
+Replaces: python-dmedia (<< 0.6.0~repack)
Description: Distributed media library (DBus service)
DMedia is a simple distributed media library which greatly
facilitates playing of media files and storing their metadata
@@ -74,6 +75,7 @@
${python:Depends}
Recommends: dmedia-gtk
Suggests: gir1.2-appindicator-0.1
+Replaces: dmedia (<< 0.6.0~repack), python-dmedia (<< 0.6.0~repack)
Description: Distributed media library (Media Importer)
DMedia is a simple distributed media library which greatly
facilitates playing of media files and storing their metadata
@@ -97,6 +99,7 @@
python-gobject,
${misc:Depends},
${python:Depends}
+Replaces: dmedia (<< 0.6.0~repack)
Description: Distributed media library (GTK+ interface)
DMedia is a simple distributed media library which greatly
facilitates playing of media files and storing their metadata
signature.asc
Description: Digital signature

