LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ERROR: Synaptic Package Manager Mint 18.2 (https://www.linuxquestions.org/questions/linux-newbie-8/error-synaptic-package-manager-mint-18-2-a-4175617804/)

dwhb 11-17-2017 06:56 AM

ERROR: Synaptic Package Manager Mint 18.2
 
Hi
I don't know what happened, but when I tried to access Synaptic Package Manager, the following error window opened. I'm at a loss as to how to manually fix the problem. Any help from the gurus will be most appreciated :)

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

Many thanks for helping me out.

PS: Another problem is that after installing KMail and assigned settings etc, the program refuses to open at all. I click on the icon and nothing happens.
Can the live install DVD be used to correct problems such as the above?

brianL 11-17-2017 07:12 AM

Have you tried running:
Code:

sudo dpkg -configure -a
?

dwhb 11-17-2017 07:20 AM

Yes, this was the result:

dpkg: error: unknown option -o

Type dpkg --help for help about installing and deinstalling packages[*];
Use 'apt' 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;

A whole lot of commands etc were listed but i have no clue what to do :(

brianL 11-17-2017 07:30 AM

I'm stuck. Hopefully, someone with more experience with dpkg will notice this thread.

AwesomeMachine 11-17-2017 07:15 PM

It says unknown option -o. Look at the command again. It's supposed to -a.

rhubarbdog 11-17-2017 10:02 PM

In a terminal type/paste
Code:

sudo synaptic
if
Code:

sudo dpkg -configure -a
doesn't work.
When you post command output can you enclose it in code tags.

dwhb 11-17-2017 10:52 PM

Thanks everyone!
Thought it was simpler to reinstall since it was a fresh install anyway.


All times are GMT -5. The time now is 10:01 PM.