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

Launchpad Bug Tracker 984276 at bugs.launchpad.net
Mon Feb 4 20:50:16 UTC 2013


This bug was fixed in the package casper - 1.315.1

---------------
casper (1.315.1) precise-proposed; urgency=low

  * postinst:
    - Remove code generating symlink for /usr/sbin/update-initramfs to
      /usr/share/casper/casper-update-iniramfs as the diversion and symlinking
      is done in the initramfs and that code was only useful when the shim was
      first introduced. (LP: #984276)
 -- Stephane Graber <stgraber at ubuntu.com>   Tue, 22 Jan 2013 18:24:17 -0500

** Changed in: casper (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
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