使用Linux 19,在安装“我的世界”之后,每次安装或更新后,我都会得到下面的错误:
minecraft-installer package post-installation script subprocess returned error exit status 8
尝试过sudo dpkg --configure -D 777 minecraft-installer,它似乎显示了post安装程序所需资源无法访问的问题。
--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.发布于 2019-05-11 14:44:30
输出/错误消息的最后一行解释了这个问题。
2019-05-11 13:56:49 ERROR 404: Not Found.URL指向不存在的资源。看起来像是包/安装程序中的问题,或者web上的文件有错误的名称/路径。我建议您联系应用程序本身的支持,并询问他们。
发布于 2019-08-11 16:42:47
图标文件的路径:Android-图标-192x192.png已经改变了。将文件: /var/lib/dpkg/info/minecraft-intaller.postinst中的“android-图标-192x192.png”的路径更改为:https://my.minecraft.net/android-icon-192x192.png
https://unix.stackexchange.com/questions/518407
复制相似问题