PDA

View Full Version : [ubuntu] dpkg --configure -a



jtmedin
August 27th, 2009, 07:23 PM
ran update manager & go 64m of updates
After loading all the files it hung about half way thru the instllation

Turned off power (no other way) & restarted.
Got a msg about installation failure & sugested: sudo dpkg --configure -a

That fails right away so what do i do now? TIA

LowSky
August 27th, 2009, 07:25 PM
the command is actually


sudo dpkg -configure --a

you have your dashes mixed up.

jtmedin
August 27th, 2009, 07:41 PM
the command is actually


sudo dpkg -configure --a

you have your dashes mixed up.
sorry think i had the dashes correct. However, 'sudo dpkg -config --a' produces o option unknown :-(. Tried 'sudo dpkg -configure --a' produced the same :-(

ronparent
August 27th, 2009, 08:46 PM
Are you all completely mixed up now? :)

The o response is posted when you use only one dash on configure.

The correct command is : sudo dpkg --configure -a

Considering the hard boot, it may not work.

jtmedin
August 28th, 2009, 02:50 AM
Are you all completely mixed up now? :)

The o response is posted when you use only one dash on configure.

The correct command is : sudo dpkg --configure -a

Considering the hard boot, it may not work.
Thats what i did first the changes in dashes was responding to sugestions.

jtmedin
August 28th, 2009, 02:51 AM
Looks like a reinstall :(.

lisati
August 28th, 2009, 02:53 AM
The correct command is :
sudo dpkg --configure -a

+1

Thats what i did first the changes in dashes was responding to sugestions.
Do you remember the error message(s) & other information that popped up?

jtmedin
August 28th, 2009, 10:05 PM
Yes the warning said something about Gnome configure immediately after the boot & when i started update mgr thats when it got the 'sudo dpkg --configure -a' or close to that.

sandy4linux
August 29th, 2009, 12:03 PM
Since the update was interrupted,restart your system.

Press escape when grub loads. Enter in to Root shell..
type this command,

sudo dpkg --configure -a

if it doesn't fix your problem, instead of going to Root shell, enter DPKG and you need to have you DSL Connected, so that it could download necessary broken files.

Regards

LINUX- The Revolutionary Human Chain

jtmedin
August 29th, 2009, 04:37 PM
Since the update was interrupted,restart your system.

Press escape when grub loads. Enter in to Root shell..
type this command,

sudo dpkg --configure -a

if it doesn't fix your problem, instead of going to Root shell, enter DPKG and you need to have you DSL Connected, so that it could download necessary broken files.

Regards

LINUX- The Revolutionary Human Chain
need some help in getting into root shell. When grub begins to load i press esc & get the menu with 4 levels of ubuntu with their recoveries. now what do i do?

stlsaint
August 29th, 2009, 04:44 PM
choose the recovery option mode for the kernel you are currently using and you will see all options from there.

sandy4linux
August 30th, 2009, 11:49 AM
Enter recovery mode for latest kernal version..

You will get in to Recovery menu..

In order to get in to Root shell, enter the ROOT tab (6th Tab i guess)..
type the following command.

sudo dpkg --configure -a

Still you have issues then,

repeat the same procedure..

Instead of ROOT shell..Enter DPKG...

I hope this may fix the issues..

Regards