An upgrade a couple of days ago failed on the kernel update. The error is as below:
Code: Select all
unable to open '/lib/modules/4.15.0-34-generic/kernel/drivers/leds/leds-88pm860x.ko.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/linux-modules-extra-4.15.0-34-generic_4.15.0-34.37_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-modules-extra-4.15.0-34-generic; however:
Package linux-modules-extra-4.15.0-34-generic is not installed.
On my own install, that update went without problems. Having failed on the other machine, I copies the files from my own install and used them. Still getting the same error. If I try to install the linux-modules-extra-4.15.0-34-generic using dpkg, I get the same error, but on different files:
Code: Select all
ken@Vincent:/var/cache/apt/archives$ sudo dpkg -i linux-modules-extra-4.15.0-34-generic_4.15.0-34.37_amd64.deb
[sudo] password for ken:
(Reading database ... 306577 files and directories currently installed.)
Preparing to unpack linux-modules-extra-4.15.0-34-generic_4.15.0-34.37_amd64.deb ...
Unpacking linux-modules-extra-4.15.0-34-generic (4.15.0-34.37) ...
dpkg: error processing archive linux-modules-extra-4.15.0-34-generic_4.15.0-34.37_amd64.deb (--install):
unable to open '/lib/modules/4.15.0-34-generic/kernel/drivers/nfc/fdp/fdp.ko.dpkg-new': Operation not permitted
Errors were encountered while processing:
linux-mken@Vincent:/var/cache/apt/archives$ sudo dpkg -i linux-modules-extra-4.15.0-34-generic_4.15.0-34.37_amd64.deb
Thanks...
Paul.