Minecraft 原生安装失败,找不到 lib

Minecraft 原生安装失败,找不到 lib

我正在尝试通过 Ubuntu 上的本机启动器安装 Minecraft。我试过:

wget https://launcher.mojang.com/mc-staging/download/Minecraft_staging.deb

sudo dpkg -i Minecraft_staging.deb

sudo /opt/minecraft-launcher/minecraft-launcher.sh

并遇到了:error while loading shared libraries: libicui18n.so.57: cannot open shared object file: No such file or directory

经过一番谷歌搜索,我似乎应该安装某种 libicui 依赖项,但我试过的每一个都没有用。有什么想法吗?

尝试安装 Java:

king@king-MS-7640 ~/Downloads $ sudo apt-get install oracle-java8-set-default
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libicu-dev : Depends: libicu55 (= 55.1-7ubuntu0.2) but 55.1-7 is to be installed
 libicu55 : Breaks: libicu55:i386 (!= 55.1-7) but 55.1-7ubuntu0.2 is to be installed
 libicu55:i386 : Breaks: libicu55 (!= 55.1-7ubuntu0.2) but 55.1-7 is to be installed
 oracle-java8-set-default : PreDepends: oracle-java8-installer but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
king@king-MS-7640 ~/Downloads $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libicu55
The following packages will be upgraded:
  libicu55
1 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
2 not fully installed or removed.
Need to get 0 B/7,659 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 294474 files and directories currently installed.)
Preparing to unpack .../libicu55_55.1-7ubuntu0.2_amd64.deb ...
Unpacking libicu55:amd64 (55.1-7ubuntu0.2) over (55.1-7) ...
dpkg: error processing archive /var/cache/apt/archives/libicu55_55.1-7ubuntu0.2_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libicu55/changelog.Debian.gz', which is different from other instances of package libicu55:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libicu55_55.1-7ubuntu0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容