Guest User

Untitled

a guest
May 27th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. # apt-get upgrade
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Calculating upgrade... Done
  6. The following packages will be REMOVED:
  7. linux-image-4.15.0-22-generic
  8. The following packages will be upgraded:
  9. libcephfs2 librados2 ssh-import-id
  10. 3 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  11. 1 not fully installed or removed.
  12. Need to get 0 B/3,065 kB of archives.
  13. After this operation, 8,281 kB disk space will be freed.
  14. Do you want to continue? [Y/n] y
  15. (Reading database ... 149817 files and directories currently installed.)
  16. Removing linux-image-4.15.0-22-generic (4.15.0-22.24) ...
  17. /etc/kernel/postrm.d/initramfs-tools:
  18. update-initramfs: Deleting /boot/initrd.img-4.15.0-22-generic
  19. /etc/kernel/postrm.d/x-grub-legacy-ec2:
  20. Searching for GRUB installation directory ... found: /boot/grub
  21. Searching for default file ... found: /boot/grub/default
  22. Testing for an existing GRUB menu.lst file ...
  23.  
  24. 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:
  25. read error: 0: Bad file descriptor
  26. run-parts: /etc/kernel/postrm.d/x-grub-legacy-ec2 exited with return code 1
  27. dpkg: error processing package linux-image-4.15.0-22-generic (--remove):
  28. installed linux-image-4.15.0-22-generic package post-removal script
  29. subprocess returned error exit status 1
  30. Errors were encountered while processing:
  31. linux-image-4.15.0-22-generic
  32. E: Sub-process /usr/bin/dpkg returned an error code (1)
Add Comment
Please, Sign In to add comment