Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have created a live usb of Ubuntu 12.04 with a 4GB persistence file. Firefox and other software get updated when running update manager. However, the linux kernel will not update and I am unable to install synaptic package manager, ubuntu tweak, etc. Is there a fix for this. Thanks in advance.

share|improve this question

1 Answer 1

i found this solution also on askubuntu and i apply it and worked for me and i share again here:

gksudo gedit /etc/kernel/postinst.d/zz-update-grub

**

Comment out line 15

**

BEFORE

*/postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
    exec update-grub
    ;;

AFTER

    */postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
#       exec update-grub
        ;;

Run the configuration script:

$ sudo dpkg --configure -a
(lots of debugging)
$

You should see a lot of debugging, and NOT the error line at the end.

To be sure, re-run the configuration. It should end immediately without any logs:

$ sudo dpkg --configure -a
$

Now, you can restore the zz-update-grub file, just in case you want to install an other kernel later and Grub start to work with overlayfs...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.