Unable to install updates

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
jamesofyorkshire
Level 2
Level 2
Posts: 73
Joined: Mon Mar 07, 2016 5:23 am
Location: Yorkshire

Unable to install updates

Post by jamesofyorkshire »

After a regular daily update about a month ago, I've been getting this pop up ever since, and am unable to download & install updates.

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

Any help much appreciated!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: Unable to install updates

Post by deepakdeshp »

Did you run the command

Code: Select all

     sudo  dpkg --configure -a    
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
jamesofyorkshire
Level 2
Level 2
Posts: 73
Joined: Mon Mar 07, 2016 5:23 am
Location: Yorkshire

Re: Unable to install updates

Post by jamesofyorkshire »

No. Do I do this in a terminal?
jamesofyorkshire
Level 2
Level 2
Posts: 73
Joined: Mon Mar 07, 2016 5:23 am
Location: Yorkshire

Re: Unable to install updates

Post by jamesofyorkshire »

I've done that in a terminal. This popped up:

Your system has UEFI Secure Boot enabled.

│ UEFI Secure Boot requires additional configuration to work with
│ third-party drivers.

│ The system will assist you in configuring UEFI Secure Boot. To permit
│ the use of third-party drivers, a new Machine-Owner Key (MOK) has been
│ generated. This key now needs to be enrolled in your system's firmware.

│ To ensure that this change is being made by you as an authorized user,
│ and not by an attacker, you must choose a password now and then confirm
│ the change after reboot using the same password, in both the "Enroll
│ MOK" and "Change Secure Boot state" menus that will be presented to you
│ when this system reboots.

│ <OK>

How do I 'OK' it?
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to install updates

Post by Pjotr »

Tab key - OK should now be highlighted - Enter.

The MOK key is a hassle. Why not disable the useless cumbersome Secure Boot in your UEFI settings? Note that you might need to set an administrator password first (in the UEFI).
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
jamesofyorkshire
Level 2
Level 2
Posts: 73
Joined: Mon Mar 07, 2016 5:23 am
Location: Yorkshire

Re: Unable to install updates

Post by jamesofyorkshire »

How do I disable Secure Boot?
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to install updates

Post by Pjotr »

jamesofyorkshire wrote: Wed May 08, 2019 1:16 pm How do I disable Secure Boot?
Upon booting, open the UEFI (BIOS) settings with the necessary key stroke and poke around a bit. Each UEFI (BIOS) is different.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
jamesofyorkshire
Level 2
Level 2
Posts: 73
Joined: Mon Mar 07, 2016 5:23 am
Location: Yorkshire

Re: Unable to install updates

Post by jamesofyorkshire »

Thanks Piotr.....but I couldn't find how to get to BIOS so continued with your directions....which worked. Thank you.

However, not all updates were downloaded/installed....then this popped up:

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 11_all.deb
404 Not Found [IP: 91.189.88.149 80]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/m ... .2_all.deb
404 Not Found [IP: 91.189.88.149 80]
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to install updates

Post by Pjotr »

OK. :)

Refresh Update Manager. When no avail: wait a day (best option) or switch mirrors.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Locked

Return to “Beginner Questions”