Page 1 of 1

Unable to install updates

Posted: Wed May 08, 2019 12:20 pm
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!

Re: Unable to install updates

Posted: Wed May 08, 2019 12:24 pm
by deepakdeshp
Did you run the command

Code: Select all

     sudo  dpkg --configure -a    

Re: Unable to install updates

Posted: Wed May 08, 2019 12:41 pm
by jamesofyorkshire
No. Do I do this in a terminal?

Re: Unable to install updates

Posted: Wed May 08, 2019 12:57 pm
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?

Re: Unable to install updates

Posted: Wed May 08, 2019 1:00 pm
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).

Re: Unable to install updates

Posted: Wed May 08, 2019 1:16 pm
by jamesofyorkshire
How do I disable Secure Boot?

Re: Unable to install updates

Posted: Wed May 08, 2019 1:23 pm
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.

Re: Unable to install updates

Posted: Wed May 08, 2019 2:15 pm
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]

Re: Unable to install updates

Posted: Wed May 08, 2019 2:35 pm
by Pjotr
OK. :)

Refresh Update Manager. When no avail: wait a day (best option) or switch mirrors.