Elementary OS를 업데이트하려고 할 때마다 다음 오류가 발생합니다.
Removing linux-image-extra-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: GRUB: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.13.0-32-generic.postrm line 328.
dpkg: error processing package linux-image-extra-3.13.0-32-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-3.13.0-32-generic (3.13.0-32.57) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-32-generic /boot/vmlinuz-3.13.0-32-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: GRUB: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-32-generic.postrm line 328.
dpkg: error processing package linux-image-3.13.0-32-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.13.0-32-generic
linux-image-3.13.0-32-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
패키지를 수동으로 제거하려고 시도했지만 오류가 반환되었습니다.
답변1
이렇게 하면 오류가 해결되는 것 같습니다. 파일을 열었어요
/etc/default/grub
그리고 11번째 줄에서 발견됨
GRUB _ CMDLINE _ LINUX _ DEFAULT="quiet splash acpiosi=linux
_
사이의 공백을 제거하십시오.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpiosi=linux
문제를 해결했다