AnswerBun.com

Error Installing virtualbox-dkms: kernel package linux-headers-4.15.0-34-generic is not supported

Ask Ubuntu Asked by Omari Celestine on November 23, 2021

I am currently trying to get VirthalBox back up and running on Ubuntu 20.04 but during the installation of the virtualbox-dkms package, I got following error:

ERROR (dkms apport): kernel package linux-headers-4.15.0-34-generic is not suppo
rted
Error! Bad return status for module build on kernel: 4.15.0-34-generic (x86_64)
Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.

How can I resolve this issue so I can have VirtualBox working again?

One Answer

So I ended up resolving the problem by manually installing a newer version of the kernel. I found a tutorial on It's Foss which guided me on downloading and installing the kernel.

What I did was to manually download the deb packages for the kernel (Version 5.6.4) from the Ubuntu Kernel Site which includes the following files (Mine is the 64 bit architecture):

  • linux-headers-VERSION-NUMBER_all.deb
  • linux-headers-VERSION-NUMBER_amd64.deb
  • linux-image-VERSION-NUMBER_amd64.deb
  • linux-modules-VERSION-NUMBER_amd64.deb

I placed all those files in a seperate folder, I opened a terminal window and changed to the path of that folder using the command: cd {folder_path} where {folder_path} is the full path to the folder where I downloaded the deb files for the kernel.

Then I installed them by running the command: sudo dpkg -i *.deb

After that, all I had to do was restart my computer and I was updated to the newer kernel version.

Answered by Omari Celestine on November 23, 2021

Add your own answers!

Related Questions

Are there any Lubuntu server version?

2  Asked on December 13, 2020 by emoji

   

Can’t connect to local MySQL server through socket problem

0  Asked on December 13, 2020 by silver-dangeros

       

Multiple monitors with KVM

2  Asked on December 13, 2020 by klequis

     

Drive Formatting – Not Operational

0  Asked on December 13, 2020 by dankynanky

     

How to see full cron log (Not of just 1 day or less)?

3  Asked on December 13, 2020 by sagun-shrestha

       

Bluetooth stops working after suspend in 20.04

1  Asked on December 12, 2020 by vox

         

How do I disable automatic screen locking in Xubuntu?

7  Asked on December 12, 2020 by bob-brunius

     

Is Swap File slower than Swap partition in Ubuntu 20.04

1  Asked on December 12, 2020 by aadithya-sathya

         

Logging in to ubuntu with lid closed

0  Asked on December 12, 2020 by fredrik-nilsson

     

Keyboard periodically stops working in Ubuntu 20.04

1  Asked on December 12, 2020 by pfrances

     

VS Code: No PHP executable is set

0  Asked on December 12, 2020 by johann-van-vuuren

       

Wifi not working in ubuntu 20.04

0  Asked on December 12, 2020 by anxiousconcert

       

Error: tcl.h not found (no such file or directory)

2  Asked on December 11, 2020 by goncalo

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir