dpkg error Sub-process /usr/bin/dpkg returned an error code (1)

Asked by robtreed on 2010-08-12

Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
robtreed
Solved:
Last query:
Last reply:

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

Then type or better copy and paste a row a time then press enter:
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 (see the **Tip below )

sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

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

**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

robtreed (robt4reed) said : #3

problem has now gone, but when was a couple of days after writing code in terminal?