tags 702453 + patch
thanks

Hi Thomas,

thanks for your bug report.

Le mercredi 6 mars 2013 19:47:45, Thomas Rechberger a écrit :
> 
> Did an upgrade from a default squeeze install to wheezy on Vmware
> Workstation 8. The apt-get dist-upgrade process failed during installation
> of gir1.2-cogl-1.0 because gir1.0-clutter-1.0 is still installed.
> The installation was in a non working state after reboot and lost also the
> network connection.
> Upgrade process was followed as written in:
> http://www.debian.org/releases/wheezy/i386/release-notes/ch-upgrading.de.ht
> ml
> 
> After dpkg -r --force-depends gir1.0-clutter-1.0 the upgrade was able to
> continue.
> 
> I suggest that the old gir1.0-clutter-1.0 should be removed by new package
> before the new one is installed.

Right. Adding a conflicts should do it. They share one file and should thus 
not be unpacked at the same time. See attached patch.

Unfortunetely, I couldn't reproduce the bug on my system so I can't check that 
this patch work.

Best regards,

Thomas
diff -Nru cogl-1.10.2/debian/changelog cogl-1.10.2/debian/changelog
--- cogl-1.10.2/debian/changelog	2012-06-21 09:29:54.000000000 +0200
+++ cogl-1.10.2/debian/changelog	2013-03-10 21:12:33.000000000 +0100
@@ -1,3 +1,11 @@
+cogl (1.10.2-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add conflict in gir1.2-cogl-1.0 with gir1.0-clutter-1.0 to ensure dpkg
+    will not unpack them at the same time (Closes: #702453).
+
+ -- Thomas Preud'homme <robo...@debian.org>  Sun, 10 Mar 2013 21:12:31 +0100
+
 cogl (1.10.2-6) unstable; urgency=low
 
   * debian/rules: Set the gles2-libname to libGLESv2.so.2 as shipped by Mesa
diff -Nru cogl-1.10.2/debian/control cogl-1.10.2/debian/control
--- cogl-1.10.2/debian/control	2012-06-21 09:31:14.000000000 +0200
+++ cogl-1.10.2/debian/control	2013-03-10 12:15:56.000000000 +0100
@@ -122,6 +122,7 @@
          ${misc:Depends}
 Replaces: gir1.2-clutter-1.0 (<< 1.7)
 Breaks: gir1.2-clutter-1.0 (<< 1.7)
+Conflicts: gir1.0-clutter-1.0
 Description: GObject introspection data for the Cogl 1.0 library
  This package contains introspection data for the Clutter scene
  graph library.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to