Mint 19 软件包安装和更新 minecraft-installer 的错误消息

Mint 19 软件包安装和更新 minecraft-installer 的错误消息

安装 Minecraft 后使用 Linux Mint 19,每次安装或更新后都会出现以下错误:

minecraft-installer package post-installation script subprocess returned error exit status 8

尝试过sudo dpkg --configure -D 777 minecraft-installer,这似乎显示了安装后程序所需的资源无法访问的问题。

--2019-05-11 13:56:48--  http://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.164.157
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.164.157|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 280212 (274K) [application/java-archive]
Saving to: ‘/tmp/minecAJyWvp.jar’

/tmp/minecAJyWvp.ja 100%[===================>] 273.64K   457KB/s    in 0.6s    

2019-05-11 13:56:49 (457 KB/s) - ‘/tmp/minecAJyWvp.jar’ saved [280212/280212]

URL transformed to HTTPS due to an HSTS policy
--2019-05-11 13:56:49--  https://www.minecraft.net/android-icon-192x192.png
Resolving www.minecraft.net (www.minecraft.net)... 2606:2800:233:18f9:1142:8f:20aa:11e2, 152.199.20.92
Connecting to www.minecraft.net (www.minecraft.net)|2606:2800:233:18f9:1142:8f:20aa:11e2|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-05-11 13:56:49 ERROR 404: Not Found.

答案1

输出/错误消息的最后一行解释了问题。

2019-05-11 13:56:49 ERROR 404: Not Found.

URL 指向不存在的资源。看起来像是软件包/安装程序中存在问题,或者网络上的文件的名称/路径错误。我建议您联系应用程序本身的支持人员并询问他们。

HTTP 404 错误 - 维基百科

答案2

图标文件的路径:android-icon-192x192.png 已更改。将文件 /var/lib/dpkg/info/minecraft-intaller.postinst 中“android-icon-192x192.png”的路径更改为: https://my.minecraft.net/android-icon-192x192.png

相关内容