重复?
在链接的问题中,我发布了我的sources.list
,并被认为没有什么异常。那么,我的问题怎么会成为修复sources.list
的重复问题呢?这有什么帮助吗?
原始问题:
我从他们的网站安装了Steam。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
apt policy libc6
和apt policy libc6:i386
的输出添加到你的问题中吗?我怀疑可能涉及到了一个ppa。 - Organic Marbleapt remove libc6
想要移除一个庞大的软件包列表,警告我将会删除一些必要的软件包! - user1785730aptitude
命令,运行sudo apt install aptitude
将安装该软件包,然后你可以通过sudo aptitude -f install libc6-i386
再次尝试安装你的软件包。 - Error404focal-security
存储库。此外,你不应该安装 2.31-0ubuntu9.3 版本的 libc,而应该安装 2.31-0ubuntu9.2 版本。你需要尝试运行sudo aptitude install libc6=2.31-0ubuntu9.2
来解决当前的问题。 - N0rbertsudo aptitude install libc6=2.31-0ubuntu9.2
。 - N0rbert