复制?
在我发布的链接问题sources.list
中,它被认为没有什么不寻常的。那么我的问题怎么可能与 fix 重复sources.list
?这对远程有什么帮助?
原始问题:
我从他们的网站安装了蒸汽。Steam 想要安装一堆软件包,并因以下错误而停止:
Steam needs to install these additional packages:
libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-amd64:amd64 steam-libs-i386:i386
Press return to proceed with the installation:
......
Reading package lists... Done
Building dependency tree
Reading state information... Done
libegl1 is already the newest version (1.3.2-1~ubuntu0.20.04.1).
libegl1 set to manually installed.
libgbm1 is already the newest version (21.0.3-0ubuntu0.3~20.04.5).
libgbm1 set to manually installed.
libgl1 is already the newest version (1.3.2-1~ubuntu0.20.04.1).
libgl1 set to manually installed.
libgl1-mesa-dri is already the newest version (21.0.3-0ubuntu0.3~20.04.5).
libgl1-mesa-dri set to manually installed.
libc6 is already the newest version (2.31-0ubuntu9.3).
libc6 set to manually installed.
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:
libc6 : Breaks: libc6:i386 (!= 2.31-0ubuntu9.3) but 2.31-0ubuntu9.2 is to be installed
libc6:i386 : Breaks: libc6 (!= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
E: Unable to correct problems, you have held broken packages.
手动安装 libc6-386 也不起作用:
$ sudo apt install libc6-i386
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:
libc6-i386 : Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.3 is to be installed
E: Unable to correct problems, you have held broken packages.
更新:
$ apt policy libc6
libc6:
Installed: 2.31-0ubuntu9.3
Candidate: 2.31-0ubuntu9.3
Version table:
*** 2.31-0ubuntu9.3 100
100 /var/lib/dpkg/status
2.31-0ubuntu9.2 500
500 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://mx.archive.ubuntu.com/ubuntu focal/main amd64 Packages
$ apt policy libc6-i386
libc6-i386:
Installed: (none)
Candidate: 2.31-0ubuntu9.2
Version table:
2.31-0ubuntu9.2 500
500 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://mx.archive.ubuntu.com/ubuntu focal/main amd64 Packages
N0rbert 的评论让我走上了正轨,但它仍然想删除相当多的软件包列表:
因此,我也强制
2.31-0ubuntu9.2
要求:libc6-dev
libc6-dbg
这个命令运行得很顺利。蒸汽现在工作。
但是仍然存在一个问题:我是怎么搞砸的?我最初是怎么结束
libc6=2.31-0ubuntu9.3
的?我应该为此提出一个新问题吗?