Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo mv /boot/grub/grub.cfg.new ~
- josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
- Syntax errors are detected in generated GRUB config file.
- Ensure that there are no errors in /etc/default/grub
- and /etc/grub.d/* files or please file a bug report with
- /boot/grub/grub.cfg.new file attached.
- josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo apt-get install -f
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages will be REMOVED:
- linux-image-5.8.0-55-generic
- 0 upgraded, 0 newly installed, 1 to remove and 167 not upgraded.
- 2 not fully installed or removed.
- After this operation, 9,828 kB disk space will be freed.
- Do you want to continue? [Y/n] y
- (Reading database ... 234944 files and directories currently installed.)
- Removing linux-image-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
- /etc/kernel/postrm.d/initramfs-tools:
- update-initramfs: Deleting /boot/initrd.img-5.8.0-55-generic
- /etc/kernel/postrm.d/zz-update-grub:
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
- Syntax errors are detected in generated GRUB config file.
- Ensure that there are no errors in /etc/default/grub
- and /etc/grub.d/* files or please file a bug report with
- /boot/grub/grub.cfg.new file attached.
- run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
- dpkg: error processing package linux-image-5.8.0-55-generic (--remove):
- installed linux-image-5.8.0-55-generic package post-removal script subprocess returned error exit status 1
- dpkg: too many errors, stopping
- Errors were encountered while processing:
- linux-image-5.8.0-55-generic
- Processing was halted because there were too many errors.
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- josephde@josephde-HP-Pavilion-Laptop-14-bf1xx:~$ sudo dpkg --configure -a
- Setting up linux-image-5.11.0-25-generic (5.11.0-25.27~20.04.1) ...
- Processing triggers for linux-image-5.11.0-25-generic (5.11.0-25.27~20.04.1) ...
- /etc/kernel/postinst.d/dkms:
- * dkms: running auto installation service for kernel 5.11.0-25-generic
- ...done.
- /etc/kernel/postinst.d/initramfs-tools:
- update-initramfs: Generating /boot/initrd.img-5.11.0-25-generic
- /etc/kernel/postinst.d/zz-update-grub:
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
- Syntax errors are detected in generated GRUB config file.
- Ensure that there are no errors in /etc/default/grub
- and /etc/grub.d/* files or please file a bug report with
- /boot/grub/grub.cfg.new file attached.
- run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
- dpkg: error processing package linux-image-5.11.0-25-generic (--configure):
- installed linux-image-5.11.0-25-generic package post-installation script subprocess returned error exit status 1
- Errors were encountered while processing:
- linux-image-5.11.0-25-generic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement