cant update computer

Asked by john

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

this is the message I get when I try to update my pc. thanks, John

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

Please run this in terminal

sudo dpkg --configure -a

(with sudo, enter your password when it asked)

Regards,

Mark

Revision history for this message
john (johnandnina3) said :
#2

thanks but I dont know how to do it manually. where do I go to begin? can you tell me step by step? John

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi,

Step 1: First make sure Synaptic, Update manager and any other program is not running.

Step 2: Open Terminal from "Applications->Accessories->
Terminal"

Step 3: Run the following command (copy-paste the line below into the Terminal, then hit <enter>)

sudo dpkg --configure -a

Step 4: Then try using Update Manager again

Regards,

Mark

Revision history for this message
john (johnandnina3) said :
#4

john@johns-Pc:~$ sudo dpkg -- configure -a
[sudo] password for john:
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
john@johns-Pc:~$ updates

I think it needs a command? John

Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#5

Hello, please type the correct command ...

it must like this

sudo dpkg --configure -a

you're input a wrong command ..

it yours dpkg -- configure -a (there's one space between -- and configure)

There must no space between -- and configure ..

Good luck

Revision history for this message
Rolando Blanco (rolando) said :
#6

sudo dpkg --configure -a

Can you help with this problem?

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

To post a message you must log in.