How to fix a libgdk-pixbuf dependency issue for Minecraft on Linux (Debian Trixie).

Опубликовано: 08 Август 2026
на канале: neotekt72
425
26

Assuming you already have the Deb package from minecraft.net, unpack the Deb package with:
dpkg-deb -R Minecraft.deb MinecraftDEB

vim MinecraftDEB/DEBIAN/control
Find libgdk-pixbuf2.0-0, type i, and insert a "-" between pixbuf and 2.0.
Then press Esc and save with :w and exit vim with :q.

Now repackage the directory with:
dpkg-deb -b MinecraftDEB Minecraft-Fix.deb

You should now be able to install normally, as long as you have all of the dependencies.

EDIT: please check the comment I posted. I noticed that there may be another dependency you’ll need.

Good luck! If you need any help, feel free to leave a comment and hopefully I can help get you up and running.

~~~~~~

Technical explanation:
What do these commands do, according to the (man)ual?
dpkg-deb packs, unpacks, and provides information about Debian archives.
-R extracts the files from a package archive into a specified directory.
-b creates a Debian archive from the binary directory.
If you want to learn more about dpkg-deb type "man dpkg-deb" in your terminal!