SHARE
TWEET
Untitled
a guest
May 11th, 2016
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- root@ubuntu:/# sudo apt-get purge linux-image-3.13.0-79*
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Note, selecting 'linux-image-3.13.0-79-generic' for glob 'linux-image-3.13.0-79*'
- The following packages will be REMOVED:
- linux-image-3.13.0-79-generic linux-image-extra-3.13.0-79-generic
- 0 upgraded, 0 newly installed, 2 to remove and 344 not upgraded.
- 2 not fully installed or removed.
- After this operation, 194 MB disk space will be freed.
- Do you want to continue? [Y/n] y
- E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
- (Reading database ... 1080507 files and directories currently installed.)
- Removing linux-image-extra-3.13.0-79-generic (3.13.0-79.123) ...
- depmod: FATAL: could not load /boot/System.map-3.13.0-79-generic: No such file or directory
- run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- Error! Could not locate dkms.conf file.
- File: does not exist.
- Error! Your kernel headers for kernel 3.13.0-79-generic cannot be found.
- Please install the linux-headers-3.13.0-79-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-79-generic /boot/vmlinuz-3.13.0-79-generic
- update-initramfs: Generating /boot/initrd.img-3.13.0-79-generic
- WARNING: missing /lib/modules/3.13.0-79-generic
- Ensure all necessary drivers are built into the linux image!
- depmod: ERROR: could not open directory /lib/modules/3.13.0-79-generic: No such file or directory
- depmod: FATAL: could not search modules: No such file or directory
- depmod: WARNING: could not open /var/tmp/mkinitramfs_BOjLYd/lib/modules/3.13.0-79-generic/modules.order: No such file or directory
- depmod: WARNING: could not open /var/tmp/mkinitramfs_BOjLYd/lib/modules/3.13.0-79-generic/modules.builtin: No such file or directory
- run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- P: Checking for EXTLINUX directory... found.
- ls: cannot access 'vmlinuz-*': No such file or directory
- Cannot find list of partitions! (Try mounting /sys.)
- P: Installing debian theme...cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/reboot.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/config.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/vesamenu.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/hdt.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/rosh.c32': No such file or directory
- run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
- dpkg: error processing package linux-image-extra-3.13.0-79-generic (--remove):
- subprocess installed post-removal script returned error exit status 1
- Removing linux-image-3.13.0-79-generic (3.13.0-79.123) ...
- Examining /etc/kernel/postrm.d .
- run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- update-initramfs: Deleting /boot/initrd.img-3.13.0-79-generic
- run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
- P: Checking for EXTLINUX directory... found.
- ls: cannot access 'vmlinuz-*': No such file or directory
- Cannot find list of partitions! (Try mounting /sys.)
- P: Installing debian theme...cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/reboot.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/config.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/vesamenu.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/hdt.c32': No such file or directory
- cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/rosh.c32': No such file or directory
- run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
- Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-79-generic.postrm line 328.
- dpkg: error processing package linux-image-3.13.0-79-generic (--remove):
- subprocess installed post-removal script returned error exit status 1
- Errors were encountered while processing:
- linux-image-extra-3.13.0-79-generic
- linux-image-3.13.0-79-generic
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- (chroot) root@ubuntu:/# apt-get install linux-headers-3.13.0-79-generic
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Package linux-headers-3.13.0-79-generic is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- E: Package 'linux-headers-3.13.0-79-generic' has no installation candidate
RAW Paste Data
