vum-pve 升级 2.2.2 脚本执行失败

上次更新 2.2.0,出了个小差回来它也没执行结束,一直在下载/启动中,最终人工退出。所幸 pve 和路由没有问题,就是 ai 功能用不了,显示拒绝连接。今天升级 2.2.2,pve 升级依然没有问题,但后面的脚本执行失败,日志如下:

[dsh] 清理旧的 dsh 安装与 PM2 残留…
清理: npm uninstall -g @deepseek-ai/dsh || true…
up to date in 585ms
清理: rm -rf /root/.npm/_npx || true…
清理: rm -rf /root/.dsh || true…
清理: pm2 delete dsh-web || true…
bash: line 1: pm2: command not found
清理: pm2 save –force || true…
bash: line 1: pm2: command not found
清理: pm2 unstartup systemd || true…
bash: line 1: pm2: command not found
清理: pm2 kill || true…
bash: line 1: pm2: command not found
[dsh] 切换 apt 源到中科大镜像…
切换 apt 源到中科大镜像…
[mirror] 列出所有 apt 源文件…
– /etc/apt/sources.list.d.bak/debian.sources
– /etc/apt/sources.list.d.bak/ceph.sources
– /etc/apt/sources.list.d.bak/pve-install-repo.list
– /etc/apt/sources.list.d.bak/pve-enterprise.sources
– /etc/apt/sources.list
[mirror] 二次扫描 enterprise 源…
[mirror] 当前 apt 源列表:
=== /etc/apt/sources.list ===
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
deb https://mirrors.ustc.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
[dsh] 修复可能被中断的 dpkg 状态…
dpkg –configure -a (修复上次中断的 apt 事务)…
Reading package lists…
Building dependency tree…
Reading state information…
The following packages were automatically installed and are no longer required:
proxmox-kernel-6.17.13-13-pve-signed proxmox-kernel-6.17.4-1-pve-signed
proxmox-kernel-6.17.4-2-pve-signed proxmox-kernel-7.0.6-2-pve-signed
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[dsh] 更新 apt 并安装 nodejs/npm/git…
apt update…
Hit:1 https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm InRelease
Hit:2 https://mirrors.ustc.edu.cn/debian bookworm InRelease
Hit:3 https://mirrors.ustc.edu.cn/debian bookworm-updates InRelease
Hit:4 https://mirrors.ustc.edu.cn/debian-security bookworm-security InRelease
Reading package lists…
Building dependency tree…
Reading state information…
1 package can be upgraded. Run ‘apt list –upgradable’ to see it.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
apt install nodejs/npm/git…
Reading package lists…
Building dependency tree…
Reading state information…
Solving dependencies…
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
libssl-dev : Depends: libssl3 (= 3.0.22-1~deb12u1)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Error: Unable to correct problems, you have held broken packages.
Error: The following information from –solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. libssl-dev:amd64 is selected for install because:
1. npm:amd64=9.2.0~ds1-1 is selected for install
2. npm:amd64 Depends node-gyp
3. node-gyp:amd64 Depends libnode-dev
4. libnode-dev:amd64 Depends libssl-dev (>= 1.1.1~)
2. libssl-dev:amd64 is available in versions 3.0.22-1~deb12u1, 3.0.20-1~deb12u2, 3.0.17-1~deb12u2
but none of the choices are installable:
– libssl-dev:amd64=3.0.22-1~deb12u1 Depends libssl3 (= 3.0.22-1~deb12u1)
but none of the choices are installable:
– libssl3:amd64=3.0.22-1~deb12u1 is not selected for install because:
1. coreutils:amd64 is selected for install
2. coreutils:amd64 is available in versions 9.7-3, 9.1-1
[selected coreutils:amd64=9.7-3 for install]
3. coreutils:amd64=9.7-3 PreDepends libssl3t64 (>= 3.0.0)
4. libssl3t64:amd64 Breaks libssl3 (< 3.5.7-1~deb13u2)
[selected libssl3t64:amd64]
For context, additional choices that could not be installed:
* In coreutils:amd64 is available in versions 9.7-3, 9.1-1:
– coreutils:amd64=9.1-1 is not selected for install
– libssl-dev:amd64=3.0.20-1~deb12u2 is not selected for install
– libssl-dev:amd64=3.0.17-1~deb12u2 is not selected for install
apt install nodejs/npm/git失败(退出码: 100)

问 AI 说是脚本中的 libssl-dev 需要 Debian12 的旧版依赖包 libssl3,但系统中已经安装了 Debian13 的 libssl3t64,导致冲突。算了,我也无力解决,能不能提供删除 AI 相关组件的方式啊?强迫症患者看着那俩按钮有点膈应。

请登录后发表评论

    • vee的头像-VUM星球钻石会员veelove徽章-原创达人-VUM星球等级-LV10-VUM星球超级版主0