a guest Jan 20th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alexserver@mail:~/server$ sudo apt autoremove --purge -y linux-image-4.15.0-70-g                                                                                                                                                             eneric
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following packages will be REMOVED:
  6.   linux-image-4.15.0-70-generic
  7. 0 upgraded, 0 newly installed, 1 to remove and 68 not upgraded.
  8. 2 not fully installed or removed.
  9. After this operation, 8,394 kB disk space will be freed.
  10. (Reading database ... 147968 files and directories currently installed.)
  11. Removing linux-image-4.15.0-70-generic (4.15.0-70.79) ...
  12. /etc/kernel/postrm.d/initramfs-tools:
  13. update-initramfs: Deleting /boot/initrd.img-4.15.0-70-generic
  14. /etc/kernel/postrm.d/x-grub-legacy-ec2:
  15. Searching for GRUB installation directory ... found: /boot/grub
  16. Searching for default file ... found: /boot/grub/default
  17. Testing for an existing GRUB menu.lst file ...
  19. Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/update-grub-legacy-ec2: line 1101: read: read error: 0: Bad file descriptor
  20. run-parts: /etc/kernel/postrm.d/x-grub-legacy-ec2 exited with return code 1
  21. dpkg: error processing package linux-image-4.15.0-70-generic (--remove):
  22.  installed linux-image-4.15.0-70-generic package post-removal script subprocess returned error exit status 1
  23. Errors were encountered while processing:
  24.  linux-image-4.15.0-70-generic
  25. E: Sub-process /usr/bin/dpkg returned an error code (1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand