Problem stating synaptic manager

Asked by clive littlewood

Hi
I am a newbie so please excuse if this seems simple.

I am trying to run the synaptic package manager to load google desktop but am getting the following error messages.

dpkg was interrupted and you must manually run dpkg --configure -a to correct.

-cache->open()failed please report.

How do i run this manually and who do i report it to ???

Thanks in anticipation.

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

Vojtěch Trefný suggests this article as an answer to your question:
FAQ #52: “Can't install new software and updates”.

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#2

Just open Terminal (Applications→Accesories→Terminal) and type "sudo dpkg --configure -a" (without quotation marks).

Revision history for this message
clive littlewood (clivelittlewood) said :
#3

when i enter dpkg--configure-a then password
i get the message command not found
Help!

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#4

Yes it's because you've forgot space - it's "sudo dpkg --configure -a " -- between "dpkg" and "--" is space.

Revision history for this message
clive littlewood (clivelittlewood) said :
#5

Hi Vojech

Thanks for the info.

I have tried with 1 space and 2 space but still get the same answer

Command not found.

When i try to use add/remove i also get the error

dpkg not found

any more thoughts

Clive

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#6

So, just copy/paste this command from here and then copy full error output here (or make screenshot of terminal), please.

Revision history for this message
clive littlewood (clivelittlewood) said :
#7

Hi Vojtech

This is a copy /paste from the terminal.

I have altered the password for obvious reasons

clive@clive-laptop:~$ sudo dpkg --configure -a
[sudo] password for clive:
Harclive@clive-laptop:~$ Ha
bash: Ha: command not found
clive@clive-laptop:~$

Clive

Revision history for this message
clive littlewood (clivelittlewood) said :
#8

Hi Vojtech

This is a copy /paste from the terminal.

I have altered the password for obvious reasons

clive@clive-laptop:~$ sudo dpkg configure a
[sudo] password for clive:
Harclive@clive-laptop:~$ Ha
bash: Ha: command not found
clive@clive-laptop:~$

Clive

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#9

"Harclive@clive-laptop:~$ Ha
bash: Ha: command not found"

What's ever 'Ha'?

Revision history for this message
clive littlewood (clivelittlewood) said :
#10

Ha is the first 2 letters of my password

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#11

So, just write the command (sudo dpkg --configure -a) and then just write your password in displayed line ([sudo] password for clive:) -- the passwords won't show up as you type them but they are being entered.. Notice that it won't show the '*' while you type, but just type in normally !

Revision history for this message
clive littlewood (clivelittlewood) said :
#12

Ok thats sorted the password
Thanks

I now get the following:

clive@clive-laptop:~$ sudo dpkg configure a
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' !
clive@clive-laptop:~$ dpkg help
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' !
clive@clive-laptop:~$

Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#13

You've forgot hyphens...

sudo dpkg --configure -a

Revision history for this message
clive littlewood (clivelittlewood) said :
#14

Thanks Vojtěch Trefný, that solved my question.