Package: sl-modem-source
Version: 2.9.11~20110321-8
Severity: serious
Tags: patch
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'squeeze'.
It installed fine in 'squeeze', then the upgrade to 'wheezy' fails.

>From the attached log (scroll to the bottom...):

  Preparing to replace sl-modem-source 2.9.11~20100718-3 (using 
.../sl-modem-source_2.9.11~20110321-8_all.deb) ...
  Removing all DKMS Modules
  Error! There are no instances of module: sl-modem
  2.9.11~20100718 located in the DKMS tree.
  dpkg: warning: subprocess old pre-removal script returned error exit status 3
  dpkg: trying script from the new package instead ...
  dpkg: error processing 
/var/cache/apt/archives/sl-modem-source_2.9.11~20110321-8_all.deb (--unpack):
   there is no script in the new version of the package - giving up
  configured to not write apport reports
  Selecting previously unselected package sl-modem-dkms.
  dpkg: considering deconfiguration of sl-modem-source, which would be broken 
by installation of sl-modem-dkms ...
  dpkg: yes, will deconfigure sl-modem-source (broken by sl-modem-dkms)
  Unpacking sl-modem-dkms (from .../sl-modem-dkms_2.9.11~20110321-8_i386.deb) 
...
  De-configuring sl-modem-source ...

I'm attaching a patch that adds a dummy prerm script to the transitional
package. I haven't yet tested the upgrade path with this applied.
This will need to be fixed in unstable and proposed-updates
(versioned 2.9.11~20110321-8+deb7u1).
If you need help, I can take care doing a NMU and getting the fix into 
wheezy r1.

cheers,

Andreas
diff -Nru sl-modem-2.9.11~20110321/debian/changelog sl-modem-2.9.11~20110321/debian/changelog
--- sl-modem-2.9.11~20110321/debian/changelog	2012-05-26 22:16:42.000000000 +0200
+++ sl-modem-2.9.11~20110321/debian/changelog	2013-05-11 15:53:33.000000000 +0200
@@ -1,3 +1,11 @@
+sl-modem (2.9.11~20110321-8.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * debian/sl-modem-source.prerm: Add dummy empty prerm script to work around
+    upgrade failures from squeeze.  (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <[email protected]>  Sat, 11 May 2013 15:49:25 +0200
+
 sl-modem (2.9.11~20110321-8) unstable; urgency=low
 
   * debian/sl-modem-dkms.postinst: Guard rmmod with trailing '|| true'
diff -Nru sl-modem-2.9.11~20110321/debian/sl-modem-source.prerm sl-modem-2.9.11~20110321/debian/sl-modem-source.prerm
--- sl-modem-2.9.11~20110321/debian/sl-modem-source.prerm	1970-01-01 01:00:00.000000000 +0100
+++ sl-modem-2.9.11~20110321/debian/sl-modem-source.prerm	2013-05-11 15:52:22.000000000 +0200
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+# dummy empty prerm script to fix upgrade failures from squeeze
+# see #xxxxxx
+
+#DEBHELPER#

Attachment: sl-modem-source_2.9.11~20110321-8.log.gz
Description: GNU Zip compressed data

Reply via email to