[Bug Report] deepin25升级失败 Resolved
Tofloor
poster avatar
陈彬彬
deepin
2025-09-01 23:07
Author
  • 版本名称:
    • deepin 25
  • 系统更新版本的发布时间:
    • 2025-08-29
  • 升级错误信息:
    • 提示空间容量不足
  • 其他信息:
Reply Favorite View the author
All Replies
兆兆嘟嘟嘟
deepin
Q&A Team
2025-09-01 23:27
#1

你先看看你还剩多少硬盘空间。

另外提醒你一点,在系统设置中升级会先进行备份,如此一来,空间占用会更大。你要是想绕过这一步就直接升级,就得用命令行操作:sudo apt update&&sudo apt dist-upgrade

Reply View the author
陈彬彬
deepin
2025-09-01 23:40
#2

image.png

这是我的空间使用

Reply View the author
陈彬彬
deepin
2025-09-01 23:41
#3
兆兆嘟嘟嘟

你先看看你还剩多少硬盘空间。

另外提醒你一点,在系统设置中升级会先进行备份,如此一来,空间占用会更大。你要是想绕过这一步就直接升级,就得用命令行操作:sudo apt update&&sudo apt dist-upgrade

你看看哪个空间不足

Reply View the author
陈彬彬
deepin
2025-09-02 00:50
#4

(正在读取数据库 ... 系统当前共安装有 347330 个文件和目录。)
准备解压 .../base-files_2023.03.31deepin_amd64.deb ...
正在解压 base-files (2023.03.31deepin) 并覆盖 (25-6deepin4) ...
dpkg: 警告: 无法删除原有的目录 /etc/update-motd.d :目录非空
dpkg (子进程):无法执行 用于清理的 rm 命令 (rm): 没有那个文件或目录
dpkg: 清理时出错:
用于清理的 rm 命令 子进程返回错误状态 2
dpkg: 错误: 执行钩子 busctl call org.desktopspec.ApplicationUpdateNotifier1 /org/desktopspec/ApplicationUpdateNotifier1 org.freedesktop.DBus.Peer Ping &> /dev/null || /bin/true 出错,退出状态为 32512
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/test ! -e /run/ostree-booted && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
E: Sub-process returned an error code
chen@~#asdfasd^C

Reply View the author
兆兆嘟嘟嘟
deepin
Q&A Team
2025-09-02 06:47
#5
陈彬彬

(正在读取数据库 ... 系统当前共安装有 347330 个文件和目录。)
准备解压 .../base-files_2023.03.31deepin_amd64.deb ...
正在解压 base-files (2023.03.31deepin) 并覆盖 (25-6deepin4) ...
dpkg: 警告: 无法删除原有的目录 /etc/update-motd.d :目录非空
dpkg (子进程):无法执行 用于清理的 rm 命令 (rm): 没有那个文件或目录
dpkg: 清理时出错:
用于清理的 rm 命令 子进程返回错误状态 2
dpkg: 错误: 执行钩子 busctl call org.desktopspec.ApplicationUpdateNotifier1 /org/desktopspec/ApplicationUpdateNotifier1 org.freedesktop.DBus.Peer Ping &> /dev/null || /bin/true 出错,退出状态为 32512
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/test ! -e /run/ostree-booted && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
E: Sub-process returned an error code
chen@~#asdfasd^C

这个应该是包文件冲突导致。

Reply View the author
兆兆嘟嘟嘟
deepin
Q&A Team
2025-09-02 06:48
#6
陈彬彬

你看看哪个空间不足

这个我看不出来,可能是误报。应用商店也有误报情况。

Reply View the author
陈彬彬
deepin
2025-09-02 10:38
#7
兆兆嘟嘟嘟

这个我看不出来,可能是误报。应用商店也有误报情况。

我看很多人都报了这个问题

Reply View the author
deepin-流云
Moderator
Community OP
2025-09-02 11:45
#8

@zhaohui 帮看看

Reply View the author
xuqi
deepin testing team
2025-09-02 13:25
#9
  • 感谢辛苦的反馈,可以告知一下是从V25哪个版本升级的吗?我们尝试复现解决一下这个升级问题 ~
Reply View the author
暮光溯影
deepin
2025-09-02 15:00
#10

image.png

看你的日志文件,是你换源换错导致的吧 怎么换的是V20的版本的

你可以终端输入 cat /etc/apt/sources.list 看看就知道了

清华源下面这个才是正确的

deb https://mirrors.tuna.tsinghua.edu.cn/deepin/beige/ crimson main commercial community

@deepin-流云 @xuqi

Reply View the author
deepin-流云
Moderator
Community OP
2025-09-02 18:06
#11

感谢楼上大佬的分析,看起来确实是改源改炸了…

终端执行

sudo nano /etc/apt/sources.list

输入# 把你那个异常的源注释掉(或者直接删除),然后在下面添加一行(官方默认源,或者楼上新的清华源二选一):

deb https://community-packages.deepin.com/beige/ crimson main commercial community

再试试看能否正常升级,但是你这因为用错源还更新过,可能系统已经炸掉了,不行就只能回滚或者恢复出厂设置了。

回滚:启动时看到蓝色的deepin启动项,看看有没有上个备份可以选择,选那个进入系统,再把上面的源恢复。

没有的话,进入系统设置找到备份还原,最后一项,恢复出厂设置
a8e3135495cb7b0fa9b14c79353c3641.jpg

Reply View the author
陈彬彬
deepin
2025-09-02 22:14
#12
暮光溯影

image.png

看你的日志文件,是你换源换错导致的吧 怎么换的是V20的版本的

你可以终端输入 cat /etc/apt/sources.list 看看就知道了

清华源下面这个才是正确的

deb https://mirrors.tuna.tsinghua.edu.cn/deepin/beige/ crimson main commercial community

@deepin-流云 @xuqi

多谢, 确实是换源错误的问题,已升级成功

Reply View the author