PDA

View Full Version : [ubuntu] synaptic package manager issue



georgian
May 14th, 2010, 07:53 PM
can't open syn pacaptickage manager

I am using ubuntu 9.04, from past few days i am unable to open synaptic package manager , evrytime i try to open it i get message :

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


I will be waiting for your help!!
Thanks!!!!
bye :)

-humanaut-
May 14th, 2010, 07:55 PM
A program failed to install properly. You'll have to open a terminal and run "sudo dpkg --reconfigure -a" to regain control of synaptic post the results here if that fails to unlock synaptic.

georgian
May 19th, 2010, 04:09 PM
I typed in the above command in terminal and got following output:

dpkg: unknown option --reconfigure

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' !

Thnx

apjone
May 19th, 2010, 04:21 PM
there is no space between dpkg and -reconfigure


dpkg-reconfigure -a

Soul-Sing
May 19th, 2010, 05:37 PM
sudo dpkg --reconfigure -a
in the terminal (afaik)

CompyTheInsane
May 19th, 2010, 06:53 PM
It seems that the above posters meant:


sudo dpkg --configure -a

georgian
May 20th, 2010, 06:57 AM
Yipeee !! I typed in
sudo dpkg --configure -a and it's working fine now.

Thanks to everyone for helping me out.

:)

Paqman
May 20th, 2010, 08:03 AM
Yipeee !! I typed in
sudo dpkg --configure -a and it's working fine now.

Thanks to everyone for helping me out.

:)

For terminal commands it's probably easier just to copy and paste to prevent spelling errors.

You can also use tab auto-completion, which is really handy for long directory names. Just hit the first couple of letters then TAB.