Advertisement
Guest User

Untitled

a guest
Sep 18th, 2021
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.34 KB | None | 0 0
  1. josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo mv /boot/grub/grub.cfg.new ~
  2. josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo update-grub
  3. Sourcing file `/etc/default/grub'
  4. Sourcing file `/etc/default/grub.d/init-select.cfg'
  5. Generating grub configuration file ...
  6. Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
  7. Syntax errors are detected in generated GRUB config file.
  8. Ensure that there are no errors in /etc/default/grub
  9. and /etc/grub.d/* files or please file a bug report with
  10. /boot/grub/grub.cfg.new file attached.
  11. josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo apt-get install -f
  12. Reading package lists... Done
  13. Building dependency tree      
  14. Reading state information... Done
  15. The following packages will be REMOVED:
  16.  linux-image-5.8.0-55-generic
  17. 0 upgraded, 0 newly installed, 1 to remove and 167 not upgraded.
  18. 2 not fully installed or removed.
  19. After this operation, 9,828 kB disk space will be freed.
  20. Do you want to continue? [Y/n] y
  21. (Reading database ... 234944 files and directories currently installed.)
  22. Removing linux-image-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
  23. /etc/kernel/postrm.d/initramfs-tools:
  24. update-initramfs: Deleting /boot/initrd.img-5.8.0-55-generic
  25. /etc/kernel/postrm.d/zz-update-grub:
  26. Sourcing file `/etc/default/grub'
  27. Sourcing file `/etc/default/grub.d/init-select.cfg'
  28. Generating grub configuration file ...
  29. Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
  30. Syntax errors are detected in generated GRUB config file.
  31. Ensure that there are no errors in /etc/default/grub
  32. and /etc/grub.d/* files or please file a bug report with
  33. /boot/grub/grub.cfg.new file attached.
  34. run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
  35. dpkg: error processing package linux-image-5.8.0-55-generic (--remove):
  36.  installed linux-image-5.8.0-55-generic package post-removal script subprocess returned error exit status 1
  37. dpkg: too many errors, stopping
  38. Errors were encountered while processing:
  39.  linux-image-5.8.0-55-generic
  40. Processing was halted because there were too many errors.
  41. E: Sub-process /usr/bin/dpkg returned an error code (1)
  42. josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo dpkg --configure -a
  43. Setting up linux-image-5.11.0-25-generic (5.11.0-25.27~20.04.1) ...
  44. Processing triggers for linux-image-5.11.0-25-generic (5.11.0-25.27~20.04.1) ...
  45. /etc/kernel/postinst.d/dkms:
  46.  * dkms: running auto installation service for kernel 5.11.0-25-generic
  47.    ...done.
  48. /etc/kernel/postinst.d/initramfs-tools:
  49. update-initramfs: Generating /boot/initrd.img-5.11.0-25-generic
  50. /etc/kernel/postinst.d/zz-update-grub:
  51. Sourcing file `/etc/default/grub'
  52. Sourcing file `/etc/default/grub.d/init-select.cfg'
  53. Generating grub configuration file ...
  54. Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
  55. Syntax errors are detected in generated GRUB config file.
  56. Ensure that there are no errors in /etc/default/grub
  57. and /etc/grub.d/* files or please file a bug report with
  58. /boot/grub/grub.cfg.new file attached.
  59. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  60. dpkg: error processing package linux-image-5.11.0-25-generic (--configure):
  61. installed linux-image-5.11.0-25-generic package post-installation script subprocess returned error exit status 1
  62. Errors were encountered while processing:
  63. linux-image-5.11.0-25-generic
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement