Power cut during Ubuntu upgrade to 10.04 - boots to command line, apt-get and dpkg do not work.

Posted by Macha on Super User See other posts from Super User or by Macha
Published on 2010-03-28T16:22:53Z Indexed on 2010/03/28 16:33 UTC
Read the original article Hit count: 308

Filed under:
|
|

I was upgrading Ubuntu to 10.04, when a tripswitch tripped, cutting power to the computer. When it was restarted, it booted into a command line prompt. Google tells me to try:

sudo dpkg --configure -a

This gets me a lot of output that ends with a list of packages. I can't tell you what the output is, as piping the output to more/less does not work (still just all scrolls by and moves to next prompt), and redirecting it to a file just results in an empty file.

Google also suggested:

sudo apt-get install -f

This also didn't work.

Is a fresh install the only solution at this point?

© Super User or respective owner

Related posts about ubuntu

Related posts about upgrade