** Description changed:

+ [Impact]
+ 
+ Leads to autoremove failing on distribution upgrade. If this happens
+ then users get told that "A fatal error occurred" during distribution
+ upgrade. Ultimately it's not so bad because it's at the final autoremove
+ step and this can just be repeated, but it is still bad that this bug
+ causes the distribution upgrade to fail if this package is present.
+ 
+ [Development Fix]
+ 
+ Test for extlinux-update explicitly before attempting to run it. No
+ update to extlinux is needed if it is no longer installed anyway.
+ 
+ [Stable Fix]
+ 
+ Same as development fix.
+ 
+ [Test Case]
+ 
+ apt-get install extlinux syslinux-themes-debian
+ dpkg -r extlinux
+ dpkg -r syslinux-themes-debian
+ 
+ Expected result: success
+ 
+ Actual result: failure on the final command:
+ 
+ Removing syslinux-themes-debian (12-3) ...
+ /var/lib/dpkg/info/syslinux-themes-debian.postrm: 15: 
/var/lib/dpkg/info/syslinux-themes-debian.postrm: extlinux-update: not found
+ dpkg: error processing package syslinux-themes-debian (--remove):
+  subprocess installed post-removal script returned error exit status 127
+ Errors were encountered while processing:
+  syslinux-themes-debian
+ 
+ [Regression Potential]
+ 
+ I change the postrm maintainer script in this fix. The bug caused it to
+ possibly fail before. The worst that can happen is that the postrm will
+ fail in some other way.
+ 
+ [Original Description]
+ 
  I'dont know. I was trying to create a bootable usb with a Ubuntu 12.04
  64's iso.
  
  ProblemType: Package
  DistroRelease: Ubuntu 12.10
  Package: syslinux-themes-debian (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-10.10-generic 3.5.1
  Uname: Linux 3.5.0-10-generic x86_64
  ApportVersion: 2.4-0ubuntu8
  AptOrdering:
-  extlinux: Remove
-  syslinux-themes-debian: Remove
-  syslinux-themes-debian-wheezy: Remove
-  unetbootin: Remove
-  unetbootin-translations: Remove
+  extlinux: Remove
+  syslinux-themes-debian: Remove
+  syslinux-themes-debian-wheezy: Remove
+  unetbootin: Remove
+  unetbootin-translations: Remove
  Architecture: amd64
  Date: Mon Aug 27 09:34:46 2012
  DpkgTerminalLog:
-  Removing extlinux ...
-  Removing syslinux-themes-debian ...
-  /var/lib/dpkg/info/syslinux-themes-debian.postrm: 15: 
/var/lib/dpkg/info/syslinux-themes-debian.postrm: extlinux-update: not found
-  dpkg: error processing syslinux-themes-debian (--remove):
-   subprocess installed post-removal script returned error exit status 127
+  Removing extlinux ...
+  Removing syslinux-themes-debian ...
+  /var/lib/dpkg/info/syslinux-themes-debian.postrm: 15: 
/var/lib/dpkg/info/syslinux-themes-debian.postrm: extlinux-update: not found
+  dpkg: error processing syslinux-themes-debian (--remove):
+   subprocess installed post-removal script returned error exit status 127
  ErrorMessage: subprocess installed post-removal script returned error exit 
status 127
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120814.1)
  SourcePackage: syslinux-themes-debian
  Title: package syslinux-themes-debian (not installed) failed to 
install/upgrade: subprocess installed post-removal script returned error exit 
status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1042511

Title:
  package syslinux-themes-debian (not installed) failed to
  install/upgrade: subprocess installed post-removal script returned
  error exit status 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/syslinux-themes-debian/+bug/1042511/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to