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
is duplicated by 1
Comments 8
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!
To be clear, it is not exactly a typo.
Years ago the contents of libgdk-pixbuf2.0-0 was broken into two seperate packages - libgdk-pixbuf-2.0-0 and libgdk-pixbuf-xlib-2.0-0 so that those using pure wayland can install it without the x11 components.
On current debian stable (bookworm) there is a transitional dummy package libgdk-pixbuf-2.0-0 than depends on libgdk-pixbuf-2.0-0 and libgdk-pixbuf-xlib-2.0-0, however that transitional package is going away in the next debian version (trixie) which will be released this year.
So to fix this Minecraft.deb need to depend on both packages, or depend on one and recommend the x11 one, as many users still using x11.
apperantly no way to edit, cuz then i made a typo! I meant to say second paragraph:
On current debian stable (bookworm) there is a transitional dummy package libgdk-pixbuf2.0-0 that depends on libgdk-pixbuf-2.0-0 and libgdk-pixbuf-xlib-2.0-0, however that transitional package is going away in the next debian version (trixie) which will be released this year.
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.