daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest May 11th, 2016 155 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@ubuntu:/# sudo apt-get purge linux-image-3.13.0-79*
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Note, selecting 'linux-image-3.13.0-79-generic' for glob 'linux-image-3.13.0-79*'
  6. The following packages will be REMOVED:
  7.   linux-image-3.13.0-79-generic linux-image-extra-3.13.0-79-generic
  8. 0 upgraded, 0 newly installed, 2 to remove and 344 not upgraded.
  9. 2 not fully installed or removed.
  10. After this operation, 194 MB disk space will be freed.
  11. Do you want to continue? [Y/n] y
  12. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  13. (Reading database ... 1080507 files and directories currently installed.)
  14. Removing linux-image-extra-3.13.0-79-generic (3.13.0-79.123) ...
  15. depmod: FATAL: could not load /boot/System.map-3.13.0-79-generic: No such file or directory
  16. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  17. run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  18. Error! Could not locate dkms.conf file.
  19. File:  does not exist.
  20. Error! Your kernel headers for kernel 3.13.0-79-generic cannot be found.
  21. Please install the linux-headers-3.13.0-79-generic package,
  22. or use the --kernelsourcedir option to tell DKMS where it's located
  23. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  24. update-initramfs: Generating /boot/initrd.img-3.13.0-79-generic
  25. WARNING: missing /lib/modules/3.13.0-79-generic
  26. Ensure all necessary drivers are built into the linux image!
  27. depmod: ERROR: could not open directory /lib/modules/3.13.0-79-generic: No such file or directory
  28. depmod: FATAL: could not search modules: No such file or directory
  29. depmod: WARNING: could not open /var/tmp/mkinitramfs_BOjLYd/lib/modules/3.13.0-79-generic/modules.order: No such file or directory
  30. depmod: WARNING: could not open /var/tmp/mkinitramfs_BOjLYd/lib/modules/3.13.0-79-generic/modules.builtin: No such file or directory
  31. run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  32. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  33. run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  34. run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  35. P: Checking for EXTLINUX directory... found.
  36. ls: cannot access 'vmlinuz-*': No such file or directory
  37. Cannot find list of partitions!  (Try mounting /sys.)
  38. P: Installing debian theme...cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/reboot.c32': No such file or directory
  39. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/config.c32': No such file or directory
  40. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
  41. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/vesamenu.c32': No such file or directory
  42. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/hdt.c32': No such file or directory
  43. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/rosh.c32': No such file or directory
  44. run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
  45. dpkg: error processing package linux-image-extra-3.13.0-79-generic (--remove):
  46.  subprocess installed post-removal script returned error exit status 1
  47. Removing linux-image-3.13.0-79-generic (3.13.0-79.123) ...
  48. Examining /etc/kernel/postrm.d .
  49. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  50. update-initramfs: Deleting /boot/initrd.img-3.13.0-79-generic
  51. run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.13.0-79-generic /boot/vmlinuz-3.13.0-79-generic
  52. P: Checking for EXTLINUX directory... found.
  53. ls: cannot access 'vmlinuz-*': No such file or directory
  54. Cannot find list of partitions!  (Try mounting /sys.)
  55. P: Installing debian theme...cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/reboot.c32': No such file or directory
  56. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/config.c32': No such file or directory
  57. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin': No such file or directory
  58. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/vesamenu.c32': No such file or directory
  59. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/hdt.c32': No such file or directory
  60. cp: cannot stat '/usr/share/syslinux/themes/debian-wheezy/extlinux/rosh.c32': No such file or directory
  61. run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
  62. Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-79-generic.postrm line 328.
  63. dpkg: error processing package linux-image-3.13.0-79-generic (--remove):
  64.  subprocess installed post-removal script returned error exit status 1
  65. Errors were encountered while processing:
  66.  linux-image-extra-3.13.0-79-generic
  67.  linux-image-3.13.0-79-generic
  68. E: Sub-process /usr/bin/dpkg returned an error code (1)
  69. (chroot) root@ubuntu:/# apt-get install linux-headers-3.13.0-79-generic
  70. Reading package lists... Done
  71. Building dependency tree      
  72. Reading state information... Done
  73. Package linux-headers-3.13.0-79-generic is not available, but is referred to by another package.
  74. This may mean that the package is missing, has been obsoleted, or
  75. is only available from another source
  76.  
  77. E: Package 'linux-headers-3.13.0-79-generic' has no installation candidate
RAW Paste Data
Top