Steam,缺少 32 位库但无法安装

Steam,缺少 32 位库但无法安装

Steam 需要安装以下附加软件包 :libgl1-mesa-dri:i386,,libgl1-mesa-glx:i386libc6:i386

[sudo] password for user:
E: The method driver /usr/lib/apt/methods/https could not be found.

Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package libc6:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  tzdata libdb1-compat locales libc-bin initscripts

Package libgl1-mesa-glx:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libgl1-mesa-dri:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libgl1-mesa-glx

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'libgl1-mesa-dri:i386' has no installation candidate
E: Package 'libgl1-mesa-glx:i386' has no installation candidate
E: Package 'libc6:i386' has no installation candidate
Press return to continue:

当我输入sudo apt-get update

user@chrubuntu:~$ sudo apt-get update
[sudo] password for user:
E: The method driver /usr/lib/apt/methods/https could not be found.

When I type in sudo apt-get install ia32-libs
user@chrubuntu:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'ia32-libs' has no installation candidate
user@chrubuntu:~$ 

PS 我是 ubuntu/linux 的新手

答案1

我认为您正在使用 HTTPS 镜像(请参阅有关缺少方法驱动程序的错误)。您可能需要切换到非 HTTPS 镜像(默认镜像通常为非 HTTPS),安装apt-transport-https后再切换回 HTTPS 镜像。然后运行apt-get update并尝试安装其他软件包。

相关内容