- $ sudo apt-get install --reinstall kmod
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages will be REMOVED:
- linux-image-extra-3.13.0-44-generic
- 0 upgraded, 0 newly installed, 1 reinstalled, 1 to remove and 53 not upgraded.
- 8 not fully installed or removed.
- Need to get 84,9 kB of archives.
- After this operation, 152 MB disk space will be freed.
- Do you want to continue? [Y/n]
- Get:1 http://br.archive.ubuntu.com/ubuntu/ trusty/main kmod amd64 15-0ubuntu6 [84,9 kB]
- Fetched 84,9 kB in 0s (128 kB/s)
- (Reading database ... 700059 files and directories currently installed.)
- Removing linux-image-extra-3.13.0-44-generic (3.13.0-44.73) ...
- run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
- run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
- Error! Your kernel headers for kernel 3.13.0-44-generic cannot be found.
- Please install the linux-headers-3.13.0-44-generic package,
- or use the --kernelsourcedir option to tell DKMS where it's located
- run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
- update-initramfs: Generating /boot/initrd.img-3.13.0-44-generic
- cp: cannot stat ‘/sbin/rmmod’: No such file or directory
- E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
- update-initramfs: failed for /boot/initrd.img-3.13.0-44-generic with 1.
- run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
- dpkg: error processing package linux-image-extra-3.13.0-44-generic (--remove):
- subprocess installed post-removal script returned error exit status 1
- Errors were encountered while processing:
- linux-image-extra-3.13.0-44-generic
- E: Sub-process /usr/bin/dpkg returned an error code (1)
SHARE
TWEET
Untitled
a guest
Feb 25th, 2015
176
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
