无法安装 Runescape(软件包损坏?)

无法安装 Runescape(软件包损坏?)

这是我的终端读数。

wublyfe@wublyfe-K53E:~$ sudo -s -- << EOF
> wget -O - https://content.runescape.com/downloads/ubuntu/runescape.gpg.key | apt-key add -
> mkdir -p /etc/apt/sources.list.d
> echo "deb https://content.runescape.com/downloads/ubuntu trusty non-free" > /etc/apt/sources.list.d/runescape.list
> apt-get update
> apt-get install -y runescape-launcher
> EOF
[sudo] password for wublyfe: 
--2016-12-24 16:07:34--  https://content.runescape.com/downloads/ubuntu/runescape.gpg.key
Resolving content.runescape.com (content.runescape.com)... 91.235.140.195, 91.235.140.194
Connecting to content.runescape.com (content.runescape.com)|91.235.140.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 942 [text/plain]
Saving to: ‘STDOUT’

-                   100%[===================>]     942  --.-KB/s    in 0s      

2016-12-24 16:07:34 (6.57 MB/s) - written to stdout [942/942]

OK
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release                     
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]    
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Get:6 https://content.runescape.com/downloads/ubuntu trusty InRelease [2,236 B]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]  
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [68.2 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [43.1 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [19.4 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [25.6 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Fetched 465 kB in 1s (435 kB/s)     
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
W: https://content.runescape.com/downloads/ubuntu/dists/trusty/InRelease: Signature by key AAC9264309E4D717441DB9527373B12CE03BEB4B uses weak digest algorithm (SHA1)
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:
 runescape-launcher : Depends: libglew1.10 (>= 1.10.0-3) but it is not installable
E: Unable to correct problems, you have held broken packages.
wublyfe@wublyfe-K53E:~$

答案1

抱歉,回复有点晚了,我刚刚才看到你的问题。

我从您的其他软件包来源注意到您正在运行 Ubuntu Xenial Xerus。Jagex
似乎尚未将其软件包更新为 Xenial,因此您应该先登录其网站并联系Runescape 客户支持并要求他们更新他们的软件包。理想情况下,他们会在 16.04 测试期间发布此软件包的更新。
安装程序正在寻找的依赖项,libglew1.10,不在 xenial 存储库中。它已被弃用并替换为libglew1.13

如果您打算在 Jagex 更新其软件包之前运行 Runescape,则可以从可信赖的存储库手动安装已弃用的 libglew1.10 软件包。尝试从以下位置下载适合您的体系结构的软件包Ubuntu 软件包存储库的 libglew1.10 页面下载软件包后安装它(替换为文件的实际路径):

sudo dpkg -i /package/path/name.deb

然后尝试runescape-launcher再次安装该包。

sudo apt-get install runescape-launcher

我可以毫无问题地在游戏中创建角色。

我们没有将 libglew1.10 软件包更新到 xenial,因此您可能会收到非常烦人的 ldconfig 响应,表明这些 libglew1.10.so 文件不是指向其他位置的符号链接,而它们应该是。虽然我们可以解决这个问题,但每当 Jagex 发布支持 xenial 的软件包时,删除手动安装的 libglew1.10 软件包都会变得更加困难,所以我选择保留它。

相关内容