PDA

View Full Version : [ubuntu] Problem with add/remove programs



NeonWrath
June 26th, 2008, 08:46 AM
While using ubuntu with gnome, whenever I try to install anything using the add/remove programs program, I get this error message

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

The solution appears to be simple. However I need to access a root terminal to do the above command. But the only way I know to do that is through the program in which I have this error, so I can't do it that way.

There has to be something I'm missing here.

dominiquec
June 26th, 2008, 08:49 AM
Press Ctrl-F1 to get a console terminal. Then run the command.

ibutho
June 26th, 2008, 08:50 AM
Hi.

You need to do Applications -> Accessories -> Terminal

sudo dpkg --configure -a

dominiquec
June 26th, 2008, 08:50 AM
By the way: press Ctrl-F7 to get back to graphic mode.

iaculallad
June 26th, 2008, 08:51 AM
Get in your terminal and issue the command below (that's with sudo):


sudo dpkg --configure -a

iaculallad
June 26th, 2008, 08:52 AM
Press Ctrl-F1 to get a console terminal. Then run the command.

BTW: Ctrl+F1 would not pop your terminal.

That should be Ctrl+Alt+F1 to bring you to your virtual terminal.

dominiquec
June 27th, 2008, 07:18 AM
I stand corrected. Thanks iac.