installing casper on a non live system causes update-initramfs to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
High
|
mayed | ||
Precise |
Fix Released
|
High
|
mayed | ||
Quantal |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
In the event that someone decides to install casper on their Ubuntu system, which a lot of people apparently do decide to do, then they will be unable to use update-initramfs which will cause package installation failures for initramfs-tools.
Workaround:
Uninstall the casper package
[rationale]
Some people are weird and install casper on a standard Ubuntu system.
The postinst then tries to mess with their update-initramfs, fails to do so and causes a ton of bug reports.
This fix drops that code and moves the symlinking logic to a casper script which apparently does the right thing since we haven't heard of this bug again since 12.10 was released.
[test case]
1) Install casper on a 12.04 system
2) Check that the installation doesn't fail
3) Check that installing another package doesn't fail
4) Check that update-initramfs -u succeeds
[regression potential]
It's a perfect cherry-pick from the fix pushed to 12.10, so it should be working fine.
The worst case scenario would be the symlinking magic failing in casper and our live medias ending up without update-initramfs disabled, which would be a bit annoying but not dramatic.
tags: | added: precise |
description: | updated |
Changed in casper (Ubuntu): | |
assignee: | nobody → Oliver Grawert (ogra) |
importance: | Undecided → Medium |
tags: | added: bugpattern-written |
Changed in casper (Ubuntu): | |
importance: | Medium → High |
Changed in casper (Ubuntu Precise): | |
importance: | Medium → High |
Changed in casper (Ubuntu Quantal): | |
assignee: | Oliver Grawert (ogra) → Stéphane Graber (stgraber) |
Changed in casper (Ubuntu Quantal): | |
status: | Confirmed → Fix Committed |
Changed in casper (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.2 |
Changed in casper (Ubuntu Precise): | |
assignee: | Stéphane Graber (stgraber) → mohamed Othman (othmanm99) |
Changed in casper (Ubuntu Precise): | |
assignee: | mohamed Othman (othmanm99) → Stéphane Graber (stgraber) |
Changed in casper (Ubuntu): | |
assignee: | Stéphane Graber (stgraber) → mayed (mayed19908) |
Changed in casper (Ubuntu Precise): | |
assignee: | Stéphane Graber (stgraber) → mayed (mayed19908) |
Status changed to 'Confirmed' because the bug affects multiple users.