Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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



    exec update-grub


#       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


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.