mojira.dev
MCL-13512

Minecraft Launcher deb uninstallable on Ubuntu 20.04

Ubuntu Focal Fossa is the development version of Ubuntu which will become Ubuntu 20.04 later in April. Today, a change to libpango in Ubuntu means that the currently released Minecraft.deb no longer installs. Looks like a dependency needs fixing in the build of the Minecraft launcher deb.

$ sudo apt install ./Minecraft.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'minecraft-launcher' instead of './Minecraft.deb'
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.
minecraft-launcher : Depends: libpango1.0-0 (>= 1.14.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Attachments

Comments 16

What version of Java are you using?

alan@mcp:~$ java -version
openjdk version "11.0.7-ea" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7-ea+9-post-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7-ea+9-post-Ubuntu-1ubuntu1, mixed mode, sharing)

 

 

I have filed a corresponding bug against Ubuntu in launchpad (our bug tracker). https://bugs.launchpad.net/ubuntu/+source/pango1.0/+bug/1869716

Try using java 8, that may fix the error.

With respect, it won't.

This is absolutely not a java related issue. It's a debian packaging issue.

6 more comments

This problem may have been addressed in Ubuntu, but it's still an issue in Debian, at least in unstable, but I believe also in testing. It would be great if it could be addresses in the launcher, no? No expert here, but it seems to me that "libpango1.0-0" was a transitional package and has been removed from the repositories for good. At least this seems to be the view in Debian, I don't know how it was addressed in Ubuntu.

Hi, I'm a member of the team in Debian that is responsible for packaging Pango.

The short answer to @violine1101 's question is: no, it is not safe to close this, and yes, this will break again with a later update of the package. Packages that depend on libpango1.0-0 are not currently installable in the development branch of Debian, which is what will become Debian 11. Even if we apply a workaround, like Ubuntu 20.04 did, we would want that workaround to be temporary (and Ubuntu will not want to keep their workaround intact in later releases either).

The longer version:

libpango1.0-0 (without the dash) was an old Pango package containing multiple shared libraries: libpango-1.0.so.0, libpangocairo-1.0.so.0, libpangoft2-1.0.so.0, libpangox-1.0.so.0 and libpangoxft-1.0.so.0.

About 7 years ago, it was split into multiple smaller packages, one for each shared library in line with normal Debian policy (libpango-1.0-0 and so on), to make it possible to remove deprecated libraries. To make sure existing systems upgraded correctly, we also introduced a new "transitional" libpango1.0-0 package, which is empty but has dependencies on all the individual libraries that used to be included. These transitional packages are normally meant to be kept for one stable release cycle (2 years) and then removed, so we were already long overdue for removing libpango1.0-0 this year; we don't keep them forever, to avoid a large number of these transitional packages building up over time.

One of the libraries that used to be in libpango1.0-0, libpangox-1.0.so.0, is obsolete and is likely to be removed from the next versions of Debian/Ubuntu (its 32-bit version has already been removed from Ubuntu), so we can't really keep the transitional libpango1.0-0 fully intact beyond this point anyway.

The changes in version 1.44.7-2ubuntu2 of the pango1.0 source package in Ubuntu is a workaround, and is not really correct or compatible with the old libpango1.0-0: it only pulls in the main library libpango-1.0-0, and not the other related libraries.

Please change the metadata of Minecraft.deb to depend on the individual, smaller packages for each specific library that it depends on. For example, if it requires libpango-1.0.so.0 and libpangocairo-1.0.so.0, then it needs "libpango-1.0-0, libpangocairo-1.0-0" in its Depends field. These smaller packages have been available in all stable releases since Debian 8 and Ubuntu 14.04.

If you need to support even older releases (Ubuntu 12.04 and Debian 7), it is possible to have dependencies like "libpango-1.0-0 | libpango1.0-0, libpangocairo-1.0-0 | libpango1.0-0" which will accept either the new or old packages. However, these older releases have reached end-of-life and no longer receive any security support from Debian or Ubuntu, so users of these releases should really already have upgraded.

I hope this is useful information. Please let me know if you have any questions, or contact the Debian GNOME mailing list: [email protected]

I am running bullseye (Debian 11/Testing) with KDE Plasma Desktop and this is uninstallable on my system.

 

sudo apt install ./Minecraft.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'minecraft-launcher' instead of './Minecraft.deb'
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:
minecraft-launcher : Depends: libpango1.0-0 (>= 1.14.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Please reopen this issue, because with the current debian testing version (bullseye), the miinecraft launcher ist uninstallable because of unsatified dependencies.

currently you can choose between keeping minecraft running on your machine or stay up2date with debian software. I'd like to have both at the same time

Thank you

 

Alan Pope

(Unassigned)

Unconfirmed

Retrieved