[Control Center] 升级V25.2.0时提示失败
Tofloor
poster avatar
HMOS1
deepin
2026-07-09 11:39
Author

如何才能消除这个导致无法正常升级的问题?

[2026-07-09 08:36:15] === Job backup running: /usr/sbin/deepin-immutable-ctl admin deploy --backup -j -w ===
[2026-07-09 08:36:15] {"progress":0,"description":"Starting backup process"}
[2026-07-09 08:36:37] {"progress":10,"description":"Merging modification directories"}
[2026-07-09 08:36:37] {"progress":30,"description":"Checking out system files"}
[2026-07-09 08:36:55] {"progress":50,"description":"Syncing system files"}
[2026-07-09 08:36:57] {"progress":70,"description":"Moving system files"}
[2026-07-09 08:37:13] {"progress":80,"description":"Committing"}
[2026-07-09 08:37:35] {"progress":10,"description":"Merging modification directories"}
[2026-07-09 08:37:35] {"progress":30,"description":"Checking out system files"}
[2026-07-09 08:37:49] {"progress":50,"description":"Syncing system files"}
[2026-07-09 08:37:51] {"progress":70,"description":"Moving system files"}
[2026-07-09 08:37:53] {"progress":80,"description":"Committing"}
[2026-07-09 08:38:11] {"progress":90,"description":"Checking out deploy directory"}
[2026-07-09 08:38:58] {"progress":100,"description":"Backup completed"}
[2026-07-09 08:38:58] === Job backup end: /usr/sbin/deepin-immutable-ctl admin deploy --backup -j -w [Status: SUCCESS] ===
[2026-07-09 08:39:04] === CheckPkg cmd running: [apt-get check -o Debug::NoLocking=1] ===
[2026-07-09 08:39:05] === CheckPkg cmd failed: [dependenciesBroken] The following packages have unmet dependencies:
 libpam-systemd : Depends: systemd (= 255.2-4deepin31)
 udev : Depends: libudev1 (= 255.2-4deepin28) but 255.2-4deepin31 is installed
 ===
[2026-07-09 08:39:05] === CheckPkg [apt-get check -o Debug::NoLocking=1] end ===
Reply Favorite View the author
All Replies
avatar
昨夜的星辰
deepin
2026-07-09 12:24
#1

用命令行升级吧,有可能是以前或者升级过程中哪个包没下载下来还是版本没搞对

我查了一下,我这里 udevudev/未知,now 255.2-4deepin31 amd64 [已安装]

也就是说你升级的时候不知道什么原因udev依赖老的deepin28

建议命令行运行下面命令看看情况

sudo apt update && apt list --upgradable && sudo apt dist-upgrade
Reply View the author
avatar
HMOS1
deepin
2026-07-09 13:58
#2
昨夜的星辰

用命令行升级吧,有可能是以前或者升级过程中哪个包没下载下来还是版本没搞对

我查了一下,我这里 udevudev/未知,now 255.2-4deepin31 amd64 [已安装]

也就是说你升级的时候不知道什么原因udev依赖老的deepin28

建议命令行运行下面命令看看情况

sudo apt update && apt list --upgradable && sudo apt dist-upgrade

还是卡在同样的地方

截图_deepin-terminal_20260709135726.png

尝试终端所提示的修复命令也无济于事

截图_deepin-terminal_20260709135930.png

Reply View the author
avatar
jjcui8595
deepin
2026-07-09 14:43
#3

先关闭磐石再试试

Reply View the author
avatar
HMOS1
deepin
2026-07-09 16:50
#4
jjcui8595

先关闭磐石再试试

已关闭了磐石,再逐一试了一下,结果还是跟之前一样,无法正常升级

Reply View the author
avatar
RucLinux
deepin
2026-07-09 18:34
#5

你是不是换源了?你安装的systemd好像有依赖冲突

Reply View the author
avatar
HMOS1
deepin
2026-07-10 07:22
#6
RucLinux

你是不是换源了?你安装的systemd好像有依赖冲突

我没换过哦

Reply View the author
avatar
昨夜的星辰
deepin
2026-07-10 11:55
#7

你遇到的是Debian系系统中安装systemd时的依赖问题,核心原因是系统未采用merged-/usr目录结构,下面为你详细解决:


🛠️ 解决步骤

  1. 安装usrmerge包 打开终端执行以下命令,将系统转换为merged-/usr结构:
Bash
复制
sudo apt update sudo apt install usrmerge

安装过程中会有交互提示,确认转换操作即可,该过程会自动迁移相关目录文件,无需手动干预。

  1. 验证转换结果 转换完成后,可通过以下命令确认目录结构已合并:
Bash
复制
ls -l /bin /sbin /lib*

正常情况下这些目录会变为指向/usr对应目录的软链接。

  1. 安装systemd 待usrmerge完成后,再次执行systemd安装命令:
Bash
复制
sudo apt install systemd

⚠️ 注意事项

  • 转换过程不可逆,执行前建议备份重要数据
  • 部分特殊定制系统可能存在兼容性问题,可提前参考Debian官方文档排查
  • 若转换过程中出现错误,可根据终端提示修复后再继续操作

另外,先执行 ls -l /bin /sbin /lib*看一下是否是这个问题,附我这的执行结果

没给/usr目录下的文件改过权限啥的吧,如果动过那就建议直接重装好了,或者重装之前死马当活马医,强行把systemd装上?

~$ ls -l /bin /sbin /lib*
lrwxrwxrwx 1 root root 7 2025年 7月 1日 /bin -> usr/bin
lrwxrwxrwx 1 root root 7 2025年 7月 1日 /lib -> usr/lib
lrwxrwxrwx 1 root root 9 2025年 7月 1日 /lib64 -> usr/lib64
lrwxrwxrwx 1 root root 8 2025年 7月 1日 /sbin -> usr/sbin

Reply View the author
avatar
昨夜的星辰
deepin
2026-07-10 12:00
#8

楼主把你的软件源贴一下吧,怎么有些软件是要降级的,比如udev,已经装了31版本了

Reply View the author
avatar
HMOS1
deepin
2026-07-10 13:44
#9
昨夜的星辰

楼主把你的软件源贴一下吧,怎么有些软件是要降级的,比如udev,已经装了31版本了

截图_deepin-terminal_20260710134352.png

Reply View the author
avatar
昨夜的星辰
deepin
2026-07-10 22:30
#10

搞不懂了,不知道依赖关系为啥乱了。。。

Reply View the author