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) |
High
|
Robie Basak | ||
| | Trusty |
High
|
Robie Basak | ||
| | Utopic |
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)
| messajunior (messajunior) wrote : | #1 |
| Launchpad Janitor (janitor) wrote : | #2 |
| Changed in syslinux-themes-debian (Ubuntu): | |
| status: | New → Confirmed |
| Blair Chasteen (darkstormyrain) wrote : | #3 |
I noticed this above
unetbootin: Remove
unetbootin-
I just installed unetbootin on my system shortly before it happened. Also at the same time a deb conf dialog box would appear and disappear rapidly. happend about 15 times. Other installs at same time were Virtual USB Analyzer and MediaTomb.
Then it happened again after I restored a purchase.
---
Ubuntu Bug Squad volunteer triager
http://
| Johan Nenzén (dev-johnan) wrote : | #4 |
I also had unetbootin installed and removed shortly before. The autoremove wanted to remove both this package and unetbootin-
| Ian Ross (iankross) wrote : | #5 |
Uninstalled unetbootin and reinstalled again. trying to see if unetbootin would startup without having to go into the terminal - like it used to awhile ago.
| 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 |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package syslinux-
---------------
syslinux-
* Check that extlinux-update exists before trying to run it in the postrm
since it may already have been removed (Closes: #748618, LP: #1042511).
-- Robie Basak <email address hidden> Thu, 09 Apr 2015 11:17:17 +0100
| Changed in syslinux-themes-debian (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in syslinux-themes-debian (Debian): | |
| status: | Unknown → New |
Hello messajunior, or anyone else affected,
Accepted syslinux-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in syslinux-themes-debian (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| Chris Halse Rogers (raof) wrote : | #8 |
Hello messajunior, or anyone else affected,
Accepted syslinux-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in syslinux-themes-debian (Ubuntu Utopic): | |
| status: | In Progress → Fix Committed |
| Robie Basak (racb) wrote : | #9 |
Verified fixed in both trusty-proposed and utopic-proposed. For each release I verified that I could see the failure, then verified that an upgrade to syslinux-
I discovered that the bug is a little harder to trigger on Utopic because extlinux doesn't supply /etc/default/
echo "EXTLINUX_
This reproduced the problem on Utopic and so I was able to verify that the package in utopic-proposed does fix the issue.
| tags: | added: verification-done |
| Chris J Arges (arges) wrote : Update Released | #10 |
The verification of the Stable Release Update for syslinux-
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package syslinux-
---------------
syslinux-
* Check that extlinux-update exists before trying to run it in the postrm
since it may already have been removed (Closes: #748618, LP: #1042511).
-- Robie Basak <email address hidden> Thu, 09 Apr 2015 11:38:43 +0100
| Changed in syslinux-themes-debian (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package syslinux-
---------------
syslinux-
* Check that extlinux-update exists before trying to run it in the postrm
since it may already have been removed (Closes: #748618, LP: #1042511).
-- Robie Basak <email address hidden> Thu, 09 Apr 2015 11:37:20 +0100
| Changed in syslinux-themes-debian (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
Thanks for your time and efforts.
As I still have to improve my' linux ways of live', I realy appreciate your
help and the help off an invisible (at least for me) community off poeple
who wants to improve the world on the only good way for all off us.
Thousands Thanks a lot.
My best Regards
2015-04-22 18:15 GMT+02:00 Chris J Arges <email address hidden>:
> The verification of the Stable Release Update for syslinux-
> has completed successfully and the package has now been released to
> -updates. Subsequently, the Ubuntu Stable Release Updates Team is being
> unsubscribed and will not receive messages about this bug report. In
> the event that you encounter a regression using the package from
> -updates please report a new bug using ubuntu-bug and tag the bug report
> regression-update so we can easily find any regressions.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1386598).
> https:/
>
> Title:
> postrm fails when syslinux-
> been removed
>
> Status in syslinux-
> Fix Released
> Status in syslinux-
> Fix Released
> Status in syslinux-
> Fix Released
> Status in syslinux-
> New
>
> 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/
> /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
> App...
| Changed in syslinux-themes-debian (Debian): | |
| status: | New → Fix Released |


Status changed to 'Confirmed' because the bug affects multiple users.