Today's update was stalled at 82%, while I assume involved kernels - "depmod" or something.
Long ago, as I did not want kernels to update and had uninstalled:
Code: Select all
linux-image-amd64 meta-package
linux-headers-amd64
Went to reinstall them to get past this and Synaptic dialogue box popped up:
Code: Select all
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, cannot continue.
Code: Select all
rj@mx23-rj:~
$ sudo dpkg --configure -a
[sudo] password for rj:
Setting up rtl8821cu-dkms (5.12.0+git20250219-1~mx23+1) ...
Removing old rtl8821cu-5.12.0 DKMS files...
/usr/sbin/dkms.mx remove -m rtl8821cu -v 5.12.0 --all
Deleting module rtl8821cu-5.12.0 completely from the DKMS tree.
Loading new rtl8821cu-5.12.0 DKMS files...
/usr/sbin/dkms.mx add -m rtl8821cu -v 5.12.0
Building for 6.1.0-12-amd64
/usr/sbin/dkms.mx status -m rtl8821cu -v 5.12.0 -k 6.1.0-12-amd64
Building initial module for 6.1.0-12-amd64
/usr/sbin/dkms.mx build -m rtl8821cu -v 5.12.0 -k 6.1.0-12-amd64 -k 6.1.0-12-amd64 -k 6.1.0-11-amd64 -k 6.1.0-10-amd64 -a x86_64
I tried "sudo apt install linux-image-amd64 meta-package", which responded with:
"E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."
Is there any way to fix this?