System hangs on Setting up grub-pc (2.00-7ubuntu11) ...

Asked by Darryl Cashio on 2013-11-26

Running sudo dpkg --configure -a, but each time the terminal hangs on setting up the grub and nothing happens. The process prompts if I close terminal work will be lost and dpkg never completes. I left the window open 12 hours and it never resolved.
Now it says "Setting up grub-pc (2.00-7ubuntu11) ..." I have no wireless, screen resolution is wonked and no sound or driver for audio. Drivers seem to be unrecognized. Should I just boot from live CD and reinstall, or what?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2013-11-27
Last query:
2013-11-27
Last reply:
2013-11-27

Stop the grub install then run:

 sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Does it continue ok?

Darryl Cashio (dpc69) said : #2

Thanks actionparsnip, that solved my question.