Need to type sudo dpkg --configure -a don't know how to use terminal?

Asked by Thayward

Binary package hint: gnome-terminal

Tried to upgrade and install a package and my computer crashed. Tried it again later and it said it had to be manually ran in terminal using the command 'sudo dpkg--configure-a'. This did not work. PLEASE tell me what I'm doing wrong and how can I fix this problem? (Ubuntu 9.10)

ProblemType: Bug
Architecture: i386
Date: Wed Aug 4 08:16:16 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-19-generic i686
XsessionErrors:
 (nautilus:1398): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1408): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (firefox:1592): GLib-WARNING **: g_set_prgname() called multiple times
 (firefox:2003): GLib-WARNING **: g_set_prgname() called multiple times

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #613431.

Revision history for this message
Thayward (timekahayward) said :
#1
Revision history for this message
Chris Coulson (chrisccoulson) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

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

Can you give the output of:
sudo dpkg --configure -a

observer the spaces. The command is NOT:
sudo dpkg--configure-a

Which you pasted in your question.

Thanks

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

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

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install

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

Can you help with this problem?

Provide an answer of your own, or ask Thayward for more information if necessary.

To post a message you must log in.