dpkg was interrupted, you must manually run

Asked by ken

I tried to install google earth by following instructions in the forum. It appeared to work but then says the file is missing when I try to run it. Since then I keep getting "e: dpkg was interrupted, you must manually run 'dpkg--configure-a' to correct the problem". So after searching the forum I tried running "dpkg --configure -a" o fix the problem. But it didn't work. I'm a total newbie and I'm stuck. Help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
ken
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

You strictly need to open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.
-------------------------------------------------------------------

But to fully check and upgrade your system using terminal using command line,
open a Terminal from the menu Applications->Accessories->Terminal

Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

then please reboot your system, type

sudo reboot

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
ken (ken-hurst) said :
#2

I got the second line and it worked away for 20 mins or so then brought up an end user license. There is an OK at the bottom but nothing happens when I click it. Then I get the same message as before.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sudo dpkg --configure -a

Should fix you up nice

Revision history for this message
ken (ken-hurst) said :
#4

I've tried that already and it didn't work, hence me being at a loss. Anyone else had this? Or is it just me

Revision history for this message
zvacet (ivicakolic) said :
#5

"There is an OK at the bottom but nothing happens when I click it."

Use arrow keys to get to O.K. and hit enter.

Revision history for this message
ken (ken-hurst) said :
#6

Good point. Thanks, worked a treat.