리눅스-이미지-5.8.0-7630-일반

리눅스-이미지-5.8.0-7630-일반

업그레이드 후 Linux에서 이런 일이 발생하며 오류가 발생합니다.
터미널에 입력하는 모든 코드는 동일한 오류를 발생시킵니다.
나는 이 세 가지 방법을 시도했지만 성공하지 못했습니다.

sudo apt install -f
sudo dpkg --configure -a
sudo apt autoremove -f -y

실수:

Reading package lists... Done\
Building dependency tree\
Reading state information... Done\
Calculating upgrade... Done\
The following packages will be REMOVED:\
  linux-image-5.8.0-7630-generic\
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.\
4 not fully installed or removed.\
After this operation, 13.9 MB disk space will be freed.\
Do you want to continue? [Y/n] y\
(Reading database ... 259993 files and directories currently installed.)\
Removing linux-image-5.8.0-7630-generic (5.8.0-7630.32~1609174078~20.04~4b8d17c) ...\
/etc/kernel/postrm.d/initramfs-tools:\
update-initramfs: Deleting /boot/initrd.img-5.8.0-7630-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-7630-generic (--remove):\
 installed linux-image-5.8.0-7630-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-7630-generic\
Processing was halted because there were too many errors.\
E: Sub-process /usr/bin/dpkg returned an error code (1)

여기에 이미지 설명을 입력하세요.

그러나 /etc/grub.d에는 파일이 없습니다.

여기에 이미지 설명을 입력하세요.

여기에 이미지 설명을 입력하세요.

관련 정보