[Bug 984276] Re: installing casper on a non live system causes update-initramfs to fail
Tony Brijeski
tb6517 at yahoo.com
Thu May 3 20:31:26 UTC 2012
This makes more sense. It would appear this issue might arise after an
install from a usb created remaster that has persistence on. I will do
some testing of this very scenario tonight and see what happens. I can
fix this for remastersys but it will still be an issue for folks that do
it manually or using another tool.
Thanks for following up with me on this. I'll let you know what I find
with my testing. Colin must have changed this to fix the persistence
issue with usb. If this is the case I'd add one more check that would
fix the issue for all involved and that would be to check for "/casper".
If it exists then it is running live from usb but if it doesn't exist
then it is a real install. I'll do some testing with this theory as
well and if it works and doesn't cause issues I can offer up a patch for
Colin to include.
Regards,
Tony
>________________________________
> From: Brian Murray <brian at ubuntu.com>
>To: tb6517 at yahoo.com
>Sent: Thursday, May 3, 2012 4:09:50 PM
>Subject: [Bug 984276] Re: installing casper on a non live system causes update-initramfs to fail
>
>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 subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/984276
>
>Title:
> installing casper on a non live system causes update-initramfs to fail
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/casper/+bug/984276/+subscriptions
>
>
>
--
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