******************************************************************************
*
* The base-files package cannot be installed because
* /libx32 is a dangling symbolic link.
*
* This is an unexpected situation. Cannot proceed with the upgrade.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************
apt dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
libtiff5
使用'sudo apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
libb64-0d libjwt0
下列软件包将被升级:
base-files cn.flamescion.bookworm-compatibility-mode cn.wps.wps-office
com.sogou.ime.ng.fcitx5.deepin com.tencent.wechat com.visualstudio.code
dde-daemon deepin-home-appstore-daemon deepin-wine8-stable fonts-gb fonts-gb-fs
fonts-gb-ht fonts-gb-kt fonts-gb-st fonts-gb-st-super fonts-gb-xbs
io.dbeaver.community libdbusmenu-gtk3-4 libgee-0.8-2 libgnome-menu-3-0 sysv-rc
sysvinit-utils uos-ai
升级了 23 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 0 B/1,362 MB 的归档。
解压缩后会消耗 40.5 MB 的额外空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 374251 个文件和目录。)
准备解压 .../base-files_23.1-5_amd64.deb ...
dpkg: 处理归档 /var/cache/apt/archives/base-files_23.1-5_amd64.deb (--unpack)时出错:
新的 base-files 软件包 pre-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
/var/cache/apt/archives/base-files_23.1-5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
出现以后一直更新失败,本来当时懒得管了
后面分析了一下日志,解决非常简单
执行如下代码即可
然后我们更新
ok木有问题了
新人刚加入感谢各位家人点点赞