Unable to install updates

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
jamesofyorkshire
Level 2
Level 2
Posts: 54
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!
deepakdeshp
Level 18
Level 18
Posts: 8472
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, and keeps the forum clean.
Regards,
Deepak

I am using Mint 20 Cinnamon 64 bit with AMD A8/7410 / 8GB
Mint 20 Cinnamon AMD Ryzen3500U
jamesofyorkshire
Level 2
Level 2
Posts: 54
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: 54
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 22
Level 22
Posts: 15912
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 20 Ulyana
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: 54
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 22
Level 22
Posts: 15912
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 20 Ulyana
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: 54
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 22
Level 22
Posts: 15912
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 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Post Reply

Return to “Newbie Questions”