Welcome to the launcher category! Please do not post bugs and support issues here, they will be removed.

8

Minecraft Launcher .deb is broken on Debian 13 due to outdated dependencies

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Same issue.
    Operating System: Debian GNU/Linux 13
    KDE Plasma Version: 6.3.6
    KDE Frameworks Version: 6.13.0
    Qt Version: 6.8.2
    Kernel Version: 6.12.74+deb13+1-amd64 (64-bit)
    Graphics Platform: Wayland
    Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
    Memory: 32 GiB of RAM (31.3 GiB usable)
    Graphics Processor: AMD Radeon RX 6600
    Product Name: B550 Phantom Gaming 4/ac

  • 0
    Registered User commented
    Comment actions Permalink

    There is a quick workaround that you can do yourself to resolve the issue, using the dpkg-deb tool, which is preinstalled at least on Debian by default as far as I know (I am a normal Debian 13 user).

    First, ensure the dpkg tool is installed (via APT or you distro's package manager):

    # Varies by operating system. Debian systems typically use apt
    sudo apt install dpkg

    Then, follow these instructions:

    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 the changes. Then,

    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 source I used: https://bugs.mojang.com/browse/MCL/issues/MCL-25152

    I can verify that this worked for me to fix the issue locally.

    Hope this helps!