[Bug 984276] Re: installing casper on a non live system causes update-initramfs to fail

Stéphane Graber stgraber at stgraber.org
Tue Jan 22 23:27:38 UTC 2013


Uploaded a cherry-pick of the update-initramfs bits from the quantal
upload to precise-proposed.

** Description changed:

  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
+ 
+ [rational]
+ 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.

** Description changed:

  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
  
- [rational]
+ [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.

** Changed in: casper (Ubuntu Precise)
     Assignee: Oliver Grawert (ogra) => Stéphane Graber (stgraber)

** Changed in: casper (Ubuntu Precise)
       Status: Confirmed => In Progress

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

Title:
  installing casper on a non live system causes update-initramfs to fail

Status in “casper” package in Ubuntu:
  Fix Released
Status in “casper” source package in Precise:
  In Progress
Status in “casper” source package in Quantal:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/984276/+subscriptions




More information about the foundations-bugs mailing list