postrm fails when syslinux-themes-debian is removed after extlinux has been removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
syslinux-themes-debian (Debian) |
Fix Released
|
Unknown
|
|||
syslinux-themes-debian (Ubuntu) |
Fix Released
|
High
|
Robie Basak | ||
Trusty |
Fix Released
|
High
|
Robie Basak | ||
Utopic |
Fix Released
|
High
|
Robie Basak |
Bug Description
[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-
dpkg -r extlinux
dpkg -r syslinux-
Expected result: success
Actual result: failure on the final command:
Removing syslinux-
/var/lib/
dpkg: error processing package syslinux-
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
syslinux-
[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-
ProcVersionSign
Uname: Linux 3.5.0-10-generic x86_64
ApportVersion: 2.4-0ubuntu8
AptOrdering:
extlinux: Remove
syslinux-
syslinux-
unetbootin: Remove
unetbootin-
Architecture: amd64
Date: Mon Aug 27 09:34:46 2012
DpkgTerminalLog:
Removing extlinux ...
Removing syslinux-
/var/lib/
dpkg: error processing syslinux-
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-
Title: package syslinux-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in syslinux-themes-debian (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in syslinux-themes-debian (Ubuntu): | |
status: | Triaged → In Progress |
Changed in syslinux-themes-debian (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in syslinux-themes-debian (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in syslinux-themes-debian (Ubuntu): | |
assignee: | nobody → Robie Basak (racb) |
Changed in syslinux-themes-debian (Ubuntu Trusty): | |
assignee: | nobody → Robie Basak (racb) |
Changed in syslinux-themes-debian (Ubuntu Utopic): | |
assignee: | nobody → Robie Basak (racb) |
Changed in syslinux-themes-debian (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in syslinux-themes-debian (Ubuntu Utopic): | |
importance: | Undecided → High |
description: | updated |
summary: |
- package syslinux-themes-debian (not installed) failed to - install/upgrade: subprocess installed post-removal script returned error - exit status 127 + postrm fails when syslinux-themes-debian is removed after extlinux has + been removed |
Changed in syslinux-themes-debian (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in syslinux-themes-debian (Debian): | |
status: | Unknown → New |
Changed in syslinux-themes-debian (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.