Error! Your kernel headers for kernel 3.13.0-39-generic cannot be found.
please help, i cant install or update packages, not sure what i did wrong, or am doing incorrectly.
$ sudo apt-get install linux-image-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-generic is already the newest version.
linux-image-generic set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
linux-
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
linux-
Suggested packages:
fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
linux-
The following packages will be REMOVED:
linux-
The following NEW packages will be installed:
linux-
0 to upgrade, 2 to newly install, 1 to remove and 0 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/51.9 MB of archives.
After this operation, 110 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 220368 files and directories currently installed.)
Removing linux-image-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Your kernel headers for kernel 3.13.0-39-generic cannot be found.
Please install the linux-headers-
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.13.0-39-generic cannot be found.
Please install the linux-headers-
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
/usr/share/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Josh
- Solved:
- Last query:
- Last reply: