[SOLVED] dpkg is broken

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
tlabone
Level 1
Level 1
Posts: 17
Joined: Tue Sep 20, 2016 6:17 pm

[SOLVED] dpkg is broken

Post by tlabone »

Running Linux Mint 18.3, and the Update Manager was interrupted. When I started it back up it gave this error:

Code: Select all

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E:_cache -> open() failed, please report.
I tried to do as requested and got this:

Code: Select all

thomas@Alvin ~ $ sudo dpkg - configure -a
[sudo] password for thomas: 
dpkg: error: need an action option

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;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
I don't know what this trying to tell me. What do I do now? Any advice?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gm10

Re: dpkg is broken

Post by gm10 »

Copy & paste this into a terminal (you had mis-typed it):

Code: Select all

sudo dpkg --configure -a
tlabone
Level 1
Level 1
Posts: 17
Joined: Tue Sep 20, 2016 6:17 pm

[solved] Re: dpkg is broken

Post by tlabone »

I typed it wrong 5 times in a row [insert sad face here]. Thanks! That fixed it.
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: dpkg is broken

Post by JerryF »

You don't need to type it in at all.

If you click on the "SELECT ALL" that's above the code someone give you, you can then right-click on it and select copy.

Then in Terminal, right-click and paste.
Locked

Return to “Software & Applications”