[SOLVED] Kernel update through Update Manager

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
thierrygd18
Level 1
Level 1
Posts: 2
Joined: Fri Oct 18, 2019 4:14 pm

[SOLVED] Kernel update through Update Manager

Post by thierrygd18 » Fri Oct 18, 2019 4:27 pm

Hi,
I'm still a newbie with Linux. I hope this is the right forum for my question.

When trying to install the latest version of my kernel (4.15.0-65.74) through the Update Manager, an "An error occurred" window pops-up and says the following:

Code: Select all

E: /tmp/apt-dpkg-install-guu8Kj/0-linux-modules-4.15.0-65-generic_4.15.0-65.74_amd64.deb: unable to create new file '/var/lib/dpkg/info/linux-modules-4.15.0-65-generic.list-new': Operation not permitted
E: /tmp/apt-dpkg-install-guu8Kj/2-linux-modules-extra-4.15.0-65-generic_4.15.0-65.74_amd64.deb: unable to open '/lib/modules/4.15.0-65-generic/kernel/drivers/input/joystick/a3d.ko.dpkg-new': Operation not permitted
E: /tmp/apt-dpkg-install-guu8Kj/4-linux-headers-4.15.0-65_4.15.0-65.74_all.deb: unable to create new file '/var/lib/dpkg/info/linux-headers-4.15.0-65.list-new': Operation not permitted
and the "Changes applied" window says the following:

Code: Select all

Selecting previously unselected package linux-modules-4.15.0-65-generic.
(Reading database ... 304819 files and directories currently installed.)
Preparing to unpack .../0-linux-modules-4.15.0-65-generic_4.15.0-65.74_amd64.deb ...
Unpacking linux-modules-4.15.0-65-generic (4.15.0-65.74) ...
dpkg: error processing archive /tmp/apt-dpkg-install-guu8Kj/0-linux-modules-4.15.0-65-generic_4.15.0-65.74_amd64.deb (--unpack):
 unable to create new file '/var/lib/dpkg/info/linux-modules-4.15.0-65-generic.list-new': Operation not permitted
Selecting previously unselected package linux-image-4.15.0-65-generic.
Preparing to unpack .../1-linux-image-4.15.0-65-generic_4.15.0-65.74_amd64.deb ...
Unpacking linux-image-4.15.0-65-generic (4.15.0-65.74) ...
Selecting previously unselected package linux-modules-extra-4.15.0-65-generic.
Preparing to unpack .../2-linux-modules-extra-4.15.0-65-generic_4.15.0-65.74_amd64.deb ...
Unpacking linux-modules-extra-4.15.0-65-generic (4.15.0-65.74) ...
dpkg: error processing archive /tmp/apt-dpkg-install-guu8Kj/2-linux-modules-extra-4.15.0-65-generic_4.15.0-65.74_amd64.deb (--unpack):
 unable to open '/lib/modules/4.15.0-65-generic/kernel/drivers/input/joystick/a3d.ko.dpkg-new': Operation not permitted
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../3-linux-image-generic_4.15.0.65.67_amd64.deb ...
Unpacking linux-image-generic (4.15.0.65.67) ...
Selecting previously unselected package linux-headers-4.15.0-65.
Preparing to unpack .../4-linux-headers-4.15.0-65_4.15.0-65.74_all.deb ...
Unpacking linux-headers-4.15.0-65 (4.15.0-65.74) ...
dpkg: error processing archive /tmp/apt-dpkg-install-guu8Kj/4-linux-headers-4.15.0-65_4.15.0-65.74_all.deb (--unpack):
 unable to create new file '/var/lib/dpkg/info/linux-headers-4.15.0-65.list-new': Operation not permitted
Selecting previously unselected package linux-headers-4.15.0-65-generic.
Preparing to unpack .../5-linux-headers-4.15.0-65-generic_4.15.0-65.74_amd64.deb ...
Unpacking linux-headers-4.15.0-65-generic (4.15.0-65.74) ...
••••••••Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../6-linux-headers-generic_4.15.0.65.67_amd64.deb ...
Unpacking linux-headers-generic (4.15.0.65.67) ...
Selecting previously unselected package linux-generic.
Preparing to unpack .../7-linux-generic_4.15.0.65.67_amd64.deb ...
Unpacking linux-generic (4.15.0.65.67) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-guu8Kj/0-linux-modules-4.15.0-65-generic_4.15.0-65.74_amd64.deb
 /tmp/apt-dpkg-install-guu8Kj/2-linux-modules-extra-4.15.0-65-generic_4.15.0-65.74_amd64.deb
 /tmp/apt-dpkg-install-guu8Kj/4-linux-headers-4.15.0-65_4.15.0-65.74_all.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-4.15.0-65-generic:
 linux-image-4.15.0-65-generic depends on linux-modules-4.15.0-65-generic; however:
  Package linux-modules-4.15.0-65-generic is not installed.

dpkg: error processing package linux-image-4.15.0-65-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-4.15.0-65-generic:
 linux-headers-4.15.0-65-generic depends on linux-headers-4.15.0-65; however:
  Package linux-headers-4.15.0-65 is not installed.

dpkg: error processing package linux-headers-4.15.0-65-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-4.15.0-65-generic; however:
  Package linux-image-4.15.0-65-generic is not configured yet.
 linux-image-generic depends on linux-modules-extra-4.15.0-65-generic; however:
  Package linux-modules-extra-4.15.0-65-generic is not installed.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-4.15.0-65-generic; however:
  Package linux-headers-4.15.0-65-generic is not configured yet.

dpkg: error processing package linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 4.15.0.65.67); however:
  Package linux-image-generic is not configured yet.
 linux-generic depends on linux-headers-generic (= 4.15.0.65.67); however:
  Package linux-headers-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.15.0-65-generic
 linux-headers-4.15.0-65-generic
 linux-image-generic
 linux-headers-generic
 linux-generic
If I boot with said kernel (4.15.0-65.74), wifi and video card no longer work.

Thank you for your help.
Last edited by thierrygd18 on Sat Oct 19, 2019 1:18 am, edited 2 times in total.

gm10
Level 19
Level 19
Posts: 9635
Joined: Thu Jun 21, 2018 5:11 pm

Re: Kernel update through Update Manager

Post by gm10 » Fri Oct 18, 2019 7:32 pm

If you're using Sophos Anti-Virus then uninstall that crapware (or at least disable for kernel updates).

And welcome to the forums! :)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

thierrygd18
Level 1
Level 1
Posts: 2
Joined: Fri Oct 18, 2019 4:14 pm

Re: Kernel update through Update Manager

Post by thierrygd18 » Sat Oct 19, 2019 12:35 am

@gm10: it worked, thank you very much!

User avatar
catweazel
Level 19
Level 19
Posts: 9692
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Kernel update through Update Manager

Post by catweazel » Sat Oct 19, 2019 1:28 am

gm10 wrote:
Fri Oct 18, 2019 7:32 pm
If you're using Sophos Anti-Virus ...
How did you figure that one out?
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.

gm10
Level 19
Level 19
Posts: 9635
Joined: Thu Jun 21, 2018 5:11 pm

Re: Kernel update through Update Manager

Post by gm10 » Sat Oct 19, 2019 5:16 am

catweazel wrote:
Sat Oct 19, 2019 1:28 am
How did you figure that one out?
https://www.youtube.com/watch?v=DdTkeqdm1QA&t=60 :mrgreen:
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Post Reply

Return to “Software & Applications”