我从 Ubuntu 18.04 中删除了所有 32 位二进制文​​件,这导致了问题

我从 Ubuntu 18.04 中删除了所有 32 位二进制文​​件,这导致了问题

原始问题

我运行的是 Ubuntu 18.04,64 位,所以我天真地以为我可以摆脱系统上存在的所有 32 位二进制文​​件。我按照这个超级用户的回答,一切似乎仍运行良好。

然而,有一款名为蒸汽与这些 32 位二进制文​​件有一些依赖关系:libgl1-mesa-dri:i386libgl1:i386,它们每个都依赖于另一组 32 位二进制文​​件等等。

当然,我没有备份,所以现在 Steam 安装已损坏,甚至可能还有更多我看不到的损坏依赖项。有办法恢复它们吗?

附加信息

dpkg命令结果

这是对@nobody 的评论的后续评论:

$ dpkg -l | egrep -v '^li|rc'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
+++-=============================================-================================================-============-============================================================================================================================================================

重新安装 steam 时出现问题

Steam 尝试重新安装缺少的依赖项,但这些依赖项也缺少依赖项:

Steam needs to install these additional packages:
    libgl1-mesa-dri:i386, libgl1:i386
[sudo] password for jansthcirlu: 
...................................
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.
 libgl1:i386 : Depends: libglvnd0:i386 (= 1.0.0-2ubuntu2.3) but it is not going to be installed
               Depends: libglx0:i386 (= 1.0.0-2ubuntu2.3) but it is not going to be installed
 libgl1-mesa-dri:i386 : Depends: libdrm-amdgpu1:i386 (>= 2.4.100) but it is not going to be installed
                        Depends: libdrm-intel1:i386 (>= 2.4.38) but it is not going to be installed
                        Depends: libdrm-nouveau2:i386 (>= 2.4.66) but it is not going to be installed
                        Depends: libdrm-radeon1:i386 (>= 2.4.31) but it is not going to be installed
                        Depends: libdrm2:i386 (>= 2.4.75) but it is not going to be installed
                        Depends: libglapi-mesa:i386 (= 20.0.8-0ubuntu1~18.04.1) but it is not going to be installed
                        Depends: libllvm10:i386 (>= 1:9~svn298832-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Press return to continue: 

按回车键退出后,出现以下错误信息:

Steam 缺少 32 位库

相关内容