|
(为了高效,请按如下格式提问)
硬件主板型号:rk3588
固件名称/系统版本:Linux NanoPC-T6 5.10.160 #7 SMP Thu Jul 20 15:53:55 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
自编的或固件下载地址:
Log日志: (可以导出,用TXT附件上传)
问题描述及复现步骤:apt-get purge 软件出错
pi@NanoPC-T6:~$ sudo apt-get purge linux-image-unsigned-6.5.1-060501-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
linux-image-unsigned-6.5.1-060501-generic
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 17.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 356777 files and directories currently installed.)
Removing linux-image-unsigned-6.5.1-060501-generic (6.5.1-060501.202309020842) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.5.1-060501-generic
/etc/kernel/postrm.d/zz-update-grub:
/usr/sbin/grub-probe: error: failed to get canonical path of `overlay'.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-unsigned-6.5.1-060501-generic (--remove):
installed linux-image-unsigned-6.5.1-060501-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-unsigned-6.5.1-060501-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@NanoPC-T6:~$
|
|