在此处运行最新版本的 antiX 17。
在进行一轮升级并为专有 VPN 客户端安装 32 位软件包后,我在执行例程时遇到依赖项错误apt upgrade
。
错误是:
The following packages have been kept back:
xserver-xorg-core
尝试执行apt-get install xserver-xorg-core
返回以下消息:
# apt-get install xserver-xorg-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
The following packages have unmet dependencies:
xserver-xorg-core : Depends: libeudev1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
为了aptitude install xserver-xorg-core
进一步调试问题,我得到了这些更有意义的消息:
....
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) libudev-dev [220:3.2-4.0nosystemd1 (now)]
2) libudev1 [220:3.2-4.0nosystemd1 (now)]
3) udev [220:3.2-4.0nosystemd1 (now)]
Install the following packages:
4) eudev:i386 [232:3.2.5.3 (stretch)]
5) libblkid1:i386 [2.29.2-1+deb9u1 (stable)]
6) libeudev1 [232:3.2.5.3 (stretch)]
7) libeudev1:i386 [232:3.2.5.3 (stretch)]
8) libkmod2:i386 [23-2 (stable)]
9) libpcre3:i386 [2:8.39-3 (stable)]
10) libselinux1:i386 [2.6-3+b3 (stable)]
Keep the following packages at their current version:
11) libxfont2 [1:2.0.1-3+deb9u1 (now, stable)]
Upgrade the following packages:
12) xserver-xorg-core [2:1.19.2-1.0nosystemd1 (now) -> 2:1.19.2-1.0nosystemd2 (stretch)]
Downgrade the following packages:
13) libblkid1 [2.29.2-1.0nosystemd1 (now, stretch) -> 2.29.2-1+deb9u1 (stable)]
该怎么办?
诊断后,我开始调查,似乎在最新的 antiX 版本中,默认值是
eudev
而不是udev
.所以我显然把它替换为我安装的其他东西的依赖项而没有注意到。
做 then an 之后
apt-get install eudev
,我就可以毫不犹豫地做apt-get upgrade
anxserver-org-core
: