Tried to correct the issues. I have purged all 3 packages, dkms, linux-heders (did each of the packages by the full name) and virtual box. Did a reboot and then started to reinstall:
sudo apt-get install dkms
got this result:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dkms
0 upgraded, 1 newly installed, 0 to remove and 291 not upgraded.
Need to get 0 B/64.6 kB of archives.
After this operation, 349 kB of additional disk space will be used.
Selecting previously unselected package dkms.
(Reading database ... 168457 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.1_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04.1) ...
I then tested to see if that installed linux-headers by:
shelly@wally:~$ dpkg -l | grep linux-headers
shelly@wally:~$
The command returned nothing so I installed linux-headers using:
sudo apt-get install linux-headers-$(uname -r)
it gave me this result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-3.13.0-49
The following NEW packages will be installed:
linux-headers-3.13.0-49 linux-headers-3.13.0-49-generic
0 upgraded, 2 newly installed, 0 to remove and 291 not upgraded.
Need to get 0 B/9,579 kB of archives.
After this operation, 76.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package linux-headers-3.13.0-49.
(Reading database ... 168504 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-49_3.13.0-49.81_all.deb ...
Unpacking linux-headers-3.13.0-49 (3.13.0-49.81) ...
Selecting previously unselected package linux-headers-3.13.0-49-generic.
Preparing to unpack .../linux-headers-3.13.0-49-generic_3.13.0-49.81_amd64.deb ...
Unpacking linux-headers-3.13.0-49-generic (3.13.0-49.81) ...
Setting up linux-headers-3.13.0-49 (3.13.0-49.81) ...
Setting up linux-headers-3.13.0-49-generic (3.13.0-49.81) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
Error! Could not locate dkms.conf file.
File: does not exist.
Please note the error message about no dkms.conf file.
Is this going to cause issues in the future, like the next time my kernel updates and if so, is there a way to fix the error?
Thank you