[Solved] Can't install security updates!

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jbh911
Level 4
Level 4
Posts: 371
Joined: Mon Dec 05, 2011 4:23 am
Location: Gippsland, VIC AUS

[Solved] Can't install security updates!

Post by jbh911 »

I'm running Linux Mint Mate 18.3 dual booted with Windows 8.
On attempting to install a number of security updates I was presented with the following:
An error occurred
The following details are provided
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E:_cache->open() failed, please report
Running sudo dpkg --configure -a produced the following

Package configuration

┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐
│ │
│ The grub-pc package is being upgraded. This menu allows you to select
│ which devices you'd like grub-install to be automatically run for, if
│ any.

│ Running grub-install automatically is recommended in most situations, to
│ prevent the installed GRUB core image from getting out of sync with GRUB
│ modules or grub.cfg.

│ If you're unsure which drive is designated as boot drive by your BIOS,
│ it is often a good idea to install GRUB to all of them.

│ Note: it is possible to install GRUB to partition boot records as well,
│ and some appropriate partitions are offered here. However, this forces
│ GRUB to use the blocklist mechanism, which makes it less reliable, and
│ is therefore not recommended.
OK
What the ...... That's it!

Command line $ sudo apt update produced - 59 packages can be upgraded.
$ sudo apt upgrade -y produced -
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Any suggestion on over coming this problem would be greatly appreciated
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.
User avatar
karlchen
Level 23
Level 23
Posts: 18157
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Can't install security updates!

Post by karlchen »

Helo, jbh911.

You might try the terminal command which the last error message suggests:

Code: Select all

sudo dpkg --configure -a
and keep your fingers crossed that this commandline will really fix the issue.

Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 750 days now.
Lifeline
jbh911
Level 4
Level 4
Posts: 371
Joined: Mon Dec 05, 2011 4:23 am
Location: Gippsland, VIC AUS

Re: Can't install security updates!

Post by jbh911 »

Excellent, good work karichen, worked a treat, all back to normal.

Thanks again karichen :D
User avatar
karlchen
Level 23
Level 23
Posts: 18157
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: [Solved] Can't install security updates!

Post by karlchen »

Hi, jbh911,
you're welcome. :D
Is it not great if an error message suggest how to solve the reported problem; and the suggested command really succeeds?! - Sadly, this is not the rule. - Anyway, it worked for you. And this is what counts.
Cheers, Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 750 days now.
Lifeline
Locked

Return to “Other topics”