PDA

View Full Version : [ubuntu] dpkg -- configure -a ? I dont know what to do next .



minkynink
January 27th, 2009, 07:01 PM
Hello all .
I have just received this error message when i was trying to install a ubuntu tweak deb package .
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.

Can someone please help me with what i am meant to do next ?

Im a noob so a step by step list of what to do will be very gratefully appreciated .

Thanks

Mink

OffAxis
January 27th, 2009, 07:02 PM
just type that into the command line


sudo dpkg --configure -a

Tim Sharitt
January 27th, 2009, 07:03 PM
Open a terminal by going to Applications > Accessories > Terminal and enter

sudo dpkg --configure -a
Then enter your password when prompted.

rafaelsousa
January 27th, 2009, 07:03 PM
What happens when you

sudo dpkg --configure -a
???

bgerlich
January 27th, 2009, 07:03 PM
Have you tried manually running "dpkg --configure -a" by typing
sudo dpkg --configure -a in the console ? :)

bgerlich
January 27th, 2009, 07:04 PM
Heh, four exactly the same answers in less than a minute ;)

rafaelsousa
January 27th, 2009, 07:04 PM
You can try a


sudo apt-get install -f

either.

minkynink
January 27th, 2009, 07:04 PM
Ok . I think ive found it .

just ran
sudo dpkg --configure -a

Im learning .

minkynink
January 27th, 2009, 07:05 PM
Thanks all .

rafaelsousa
January 27th, 2009, 07:05 PM
bgerlich: Isn't wonderful how cool are ubuntu users?! Immediatly everyone replied!!! hehehehe

jerome1232
January 27th, 2009, 07:05 PM
What happens when you

sudo dpkg --configure -a
???

From the man page of dpkg (type man dpkg to view it your self)


dpkg --configure package ... | -a | --pending
Reconfigure an unpacked package. If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured.

Configuring consists of the following steps:

1. Unpack the configuration files, and at the same time back up the old configuration files, so that they can be restored if something goes wrong.

2. Run postinst script, if provided by the package.

minkynink
January 27th, 2009, 07:10 PM
"Don't let your mind wander -- it's too little to be let out alone."


This is So true of me today !