[SOLVED] dpkg Manually?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Justin Time
Level 3
Level 3
Posts: 179
Joined: Sun Jul 22, 2018 4:38 pm

[SOLVED] dpkg Manually?

Post by Justin Time »

I was trying to install an update and keep getting this message:

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

I'm not sure how to manually correct the problem. Should I open Terminal, starting with, sudo ___ followed by the command above?

Thanks in advance for any insight,

Justin
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Moem
Level 22
Level 22
Posts: 16233
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: dpkg Manual?

Post by Moem »

Justin Time wrote: Sun Jul 22, 2018 4:56 pm Should I open Terminal, starting with, sudo ___ followed by the command above?
That's exactly right.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
User avatar
Justin Time
Level 3
Level 3
Posts: 179
Joined: Sun Jul 22, 2018 4:38 pm

Re: dpkg Manual?

Post by Justin Time »

Thanks, Moem. :)
User avatar
Justin Time
Level 3
Level 3
Posts: 179
Joined: Sun Jul 22, 2018 4:38 pm

Re: dpkg Manual?

Post by Justin Time »

Almost there:

You have 3 "Broken" packages on your system!

Use the "Broken" filter to locate them.
I'll have to research & figure out where to find that command.

I tried it again. The install ran dpkg. Then told me it ran with inconsistencies and I should reinstall... the dpkg program?

I know... patience
Sir Charles

Re: dpkg Manual?

Post by Sir Charles »

Try

Code: Select all

sudo apt-get install -f
This would normally fix the broken-package-problem.
User avatar
Justin Time
Level 3
Level 3
Posts: 179
Joined: Sun Jul 22, 2018 4:38 pm

Re: dpkg Manual?

Post by Justin Time »

Thanks, Marziano
I believe it was trying to accomplish something. Then it posted the following error:
TermError.png
Sir Charles

Re: dpkg Manual?

Post by Sir Charles »

Try reinstalling cups-server-common as it says in the message:

Code: Select all

sudo apt-get install --reinstall cups-server-common
and the again:

Code: Select all

sudo dpkg --configure -a
Hope this helps!
User avatar
Justin Time
Level 3
Level 3
Posts: 179
Joined: Sun Jul 22, 2018 4:38 pm

dpkg Manual?

Post by Justin Time »

Hats off to ya, Marziano. That did the trick. :)
Sir Charles

Re: [SOLVED] dpkg Manually?

Post by Sir Charles »

That's great!
I'm :D to hear it worked out!

Cheers
gm10

Re: [SOLVED] dpkg Manually?

Post by gm10 »

I understand your immediate problem is fixed, but the locale settings in that screenshot look mightily messed up, you might want to look into that, too (running the Languages tool and checking the settings there might help).
Locked

Return to “Beginner Questions”