VirtualBox stopped working after Kernel Update - Linux Headers issue?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
machek
Level 1
Level 1
Posts: 2
Joined: Wed Jan 10, 2018 10:38 am

VirtualBox stopped working after Kernel Update - Linux Headers issue?

Post by machek » Wed Jan 10, 2018 10:44 am

VirtualBox stopped working after Kernel Update,
there seems to be problem with linux-headers, when I try to reinstall everything, I am stuck on

Code: Select all

 sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-headers-3.13.0-139
The following NEW packages will be installed
  linux-headers-3.13.0-139 linux-headers-3.13.0-139-generic
0 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 9,604 kB of archives.
After this operation, 77.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-139 all 3.13.0-139.188 [8,906 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-139-generic amd64 3.13.0-139.188 [697 kB]
Fetched 9,604 kB in 2s (3,336 kB/s)                       
Selecting previously unselected package linux-headers-3.13.0-139.
(Reading database ... 209420 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-139_3.13.0-139.188_all.deb ...
Unpacking linux-headers-3.13.0-139 (3.13.0-139.188) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb (--unpack):
 unable to open '/usr/src/linux-headers-3.13.0-139/arch/mips/include/asm/abi.h.dpkg-new': Operation not permitted
Selecting previously unselected package linux-headers-3.13.0-139-generic.
Preparing to unpack .../linux-headers-3.13.0-139-generic_3.13.0-139.188_amd64.deb ...
Unpacking linux-headers-3.13.0-139-generic (3.13.0-139.188) ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-headers-3.13.0-139
The following NEW packages will be installed
  linux-headers-3.13.0-139
0 to upgrade, 1 to newly install, 0 to remove and 1 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/8,906 kB of archives.
After this operation, 63.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 219001 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-139_3.13.0-139.188_all.deb ...
Unpacking linux-headers-3.13.0-139 (3.13.0-139.188) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb (--unpack):
 unable to open '/usr/src/linux-headers-3.13.0-139/include/linux/lockd/share.h.dpkg-new': Operation not permitted
Errors were encountered while processing:
 /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

User avatar
JerryF
Level 8
Level 8
Posts: 2205
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: VirtualBox stopped working after Kernel Update - Linux Headers issue?

Post by JerryF » Wed Jan 10, 2018 12:14 pm

Try running the second command apt-get install -f as [b]sudo[/b] apt-get install -f
Please edit your original post and add [SOLVED] to the beginning of the Subject Line if your problem has been solved. It helps other members.

machek
Level 1
Level 1
Posts: 2
Joined: Wed Jan 10, 2018 10:38 am

Re: VirtualBox stopped working after Kernel Update - Linux Headers issue?

Post by machek » Thu Jan 11, 2018 5:18 am

I did, no luck. I had to use aptitude to remove specific version of linux-headers to unbrake it.
Then Kernel 4.4 update appeared which cocked up everything.
It looks kernel updates on Mint 17.3 Rosa didn't go well.
I am back on 3.13.0-37-generic as only reliable option for now :-(

smurphos
Level 4
Level 4
Posts: 490
Joined: Fri Sep 05, 2014 12:18 am

Re: VirtualBox stopped working after Kernel Update - Linux Headers issue?

Post by smurphos » Tue Mar 20, 2018 4:31 am

What version of virtualbox is in the 17.x repos - is it 4.3.36?

Similar issues are experienced in Mint 18.x. The virtualbox in the 18.x repos is 5.0.40 and works with kernel 4.4, but not with 4.13. The advice to Mint 18 users on kernel 4.13 is to install the current virtualbox directly from Oracle - it no longer relies on DKMS - https://www.virtualbox.org/wiki/Linux_Downloads

You'd need the 'Trusty' build for Mint 17.x

Post Reply

Return to “Software & Applications”