[Bug 984276] Re: installing casper on a non live system causes update-initramfs to fail
Brian Murray
brian at ubuntu.com
Thu May 3 20:09:50 UTC 2012
I think why this is only happening for some people is that update-
initramfs doesn't end up being a symlink for them. casper.postinst
contains the following:
#! /bin/sh
# If running from writable media, make sure that update-initramfs is
# properly a symlink.
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.253 && \
[ -w /cdrom ] && [ -e /usr/sbin/update-initramfs.distrib ] && \
[ ! -L /usr/sbin/update-initramfs ] && \
fgrep -qs update-initramfs.distrib /usr/sbin/update-initramfs; then
ln -nsf /usr/share/casper/casper-update-initramfs \
/usr/sbin/update-initramfs
fi
update-initramfs -u
#DEBHELPER#
If you just install casper and don't pass all the tests update-initramfs
won't be symlinked to casper-update-initramfs and then you will be able
to install kernel updates. However, if the symlink is created you'll
likely have problems using update-initramfs.
--
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:
Confirmed
Status in “casper” source package in Precise:
Confirmed
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
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