mojira.dev
MCL-13850

dpkg reports a missing dependency (libpango1.0-0), even though the package is installed

When installing the debian package for the launcher, a dependency error is thrown because I'm missing libpango1.0-0.

Preparing to unpack Minecraft.deb ...
Unpacking minecraft-launcher (2.1.13829) over (2.1.13829) ...
dpkg: dependency problems prevent configuration of minecraft-launcher:
 minecraft-launcher depends on libpango1.0-0 (>= 1.14.0); however:
  Package libpango1.0-0 is not installed.

dpkg: error processing package minecraft-launcher (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.64) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 minecraft-launcher

I actually do have libpango installed, but it's called libpango-1.0-0 (at least in unstable). The other package exists, but refuses to install the required packages.

This all probably happened because I'm using the sid repository. I kinda hacked a solution together, simply by extracting the raw debian archive, then changing the line in DEBIAN/content that displays the libpango dependency to include the dash in the name (libpango-1.0-0)

$ dpkg-deb -R Minecraft.deb folder
$ cd folder/DEBIAN
$ nano content
$ # change the dependency line
$ cd ..
$ dpkg-deb -b . Minecraft.deb
$ sudo dpkg -i Minecraft.deb

Linked issues

Comments 2

This bug affects me as well. I'm very thankful for your "hacker" solution. It worked perfectly, and I'm happy I finally get to play the game after hours of researching and troubleshooting.

Thank you for reporting this issue here, Kyle. 🙂
We were tracking this issue in MCL-13662, which has been fixed for a while now. But I'm glad you got everything working while you were still affected by the issue!

Kyle Guarco

(Unassigned)

Unconfirmed

Retrieved