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 tmpdirOpen 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.debNow 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
is duplicated by 9
Comments 14
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 🙂
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!
If you install this first, then Minecraft installer will install…
http://ftp.de.debian.org/debian/pool/main/g/gdk-pixbuf-xlib/libgdk-pixbuf2.0-0_2.40.2-2_amd64.deb |
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):
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.
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.