查看: 2744|回复: 0

apt-get purge 软件出错

[复制链接]

4

主题

0

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2023-9-6 09:07:17 | 显示全部楼层 |阅读模式
(为了高效,请按如下格式提问)

硬件主板型号: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:~$

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-11-21 18:55 , Processed in 0.056466 second(s), 19 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn