mojira.dev
MCL-25152

Debian package (Minecraft.deb) contains a typo in the dependencies list

The .deb package contains a typo (at least for Debian) in the dependencies list for libgdk-pixbuf2.0-0 (>= 2.22.0).

To solve the problem the control file must be modified:

Original dependency:

libgdk-pixbuf2.0-0 (>= 2.22.0)

Corrected one:

libgdk-pixbuf2.0-0 (>= 2.22.0) | libgdk-pixbuf-2.0-0 (>= 2.22.0)

The following steps solve the problem:

Open a terminal, go to the directory were Minecraft.deb is and execute as root:

mkdir tmpdir
dpkg-deb --raw-extract Minecraft.deb tmpdir

Open tmpdir/DEBIAN/control with your favorite text editor, find libgdk-pixbuf2.0-0 (>= 2.22.0), and replace it with libgdk-pixbuf2.0-0 (>= 2.22.0) | libgdk-pixbuf-2.0-0 (>= 2.22.0) save changes.

dpkg-deb --build tmpdir Minecraft-corrected.deb

Now you can dpkg --install Minecraft-corrected.deb, and apt-get --fix-broken install if needed (if there was any complain about dependencies with the install step), or use any other helper as gdebi or a Software center for installing it.

The package distributed in the official web should be corrected.

The maintainer is unreachable via email, [email protected] doesn’t seem to exist anymore.

Linked issues

Comments 13

It seems that the original report can’t be edited. I forgot to say explicitly. Without the proposed modifications the package can’t be installed.

A correction to the correction:

Where it says Open tmpfile/DEBIAN/control it should say Open tmpdir/DEBIAN/control.


@[MOD] Greymagic27 Have now changed it for you 🙂

Nope, it’s still showing the same…

Even the tar files aren’t functional…

Here’s the error I got

Created browser window for reuse: 0x1e00004
[13497:13497:0419/001903.507397:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

3 more comments

Can confirm this. The .deb installer no longer works on Debian 13.1, even when the packages are installed manually. It has to be updated to account for the new packages.

Still not working for the same reason, months later.

Yeah, let me just quote the official package description:

https://packages.debian.org/bookworm/libgdk-pixbuf2.0-0

This transitional package depends on the main library libgdk-pixbuf-2.0-0 and the deprecated Xlib integration library libgdk-pixbuf-xlib-2.0-0.

Packages that only require the main library should depend on libgdk-pixbuf-2.0-0 | libgdk-pixbuf2.0-0.

Packages that require the Xlib integration should port away from it, or until that can be done, depend on libgdk-pixbuf-xlib-2.0-0 | libgdk-pixbuf2.0-0.

Also note the URL points to a Bookworm (now oldstable) version of this package.

At the time I write this, there’s no such package in Trixie (stable):

https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=libgdk-pixbuf2.0-0

So how about you guys follow the quoted recommendation and replace the transitional package dependency with a package that actually still exists in Debian stable?

Also, after applying the workaround described by @Debianist above and correcting the deb control file, package install still fails bevause a missing dependencies:

libglib2.0-0 (>= 2.39.4)
This package does not exist in Trixie - it seems to have been replaced by either oflibglib2.0-0t64 / libglib2.0-0t64:i386 packages.

libgtk-3-0 (>= 3.18.9)
This package does not exist in Trixie - it seems to have been replaced by the libgtk-3-0t64 package.

Fixing these dependencies in the same manner as proposed by @Debianist seems to be a propert workaround.

Debianist

(Unassigned)

Confirmed

Retrieved