Previous installation hasn't been completed

Asked by Reg Allen

The installation could have failed because of an error in the corresponding software package or it was cancelled in an unfriendly way. You have to repair this before you can install or remove any further software.
I shut the system down before I finished downloading something,but I can't remember what it was. I think it may have been Camorama Webcam Viewer as this doesn't work. Now I am unable to make any further downloads as I get the above popup

Question information

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

That error message is pretty unhelpful in terms of troubleshooting. We will need a more informative (and less vague) messagae

Can you open a terminal (Ctrl+Alt+T or from applications menu) and enter in the following commands

sudo apt-get update
sudo apt-get install camorama

Then paste the result back here ?

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#2

Open a Terminal from the menu Applications->Accessories->Terminal

**Tip: right click with mouse on the top terminal windows title caption and select the menu 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 from this page then right click and select copy then click into the terminal window
and to quick paste click with middle button of mouse )

Copy and paste the rows below, copy and paste one row a time (see the **Tip) then press enter:

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

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
Reg Allen (reg-allen) said :
#3

Many thanks, worked a treat