Skip to content

Issues with debian13! Installation failing on newer Debian/Ubuntu due to libgdk-pixbuf dependency rename {FIXED} #256

@LenovoGuy98

Description

@LenovoGuy98

Hi! Thanks for the great work on Mercury Browser.

I recently tried installing the mercury-browser_129.0.2_amd64.deb package on Debian 13 (Trixie) and ran into a dependency error that prevents the installation from completing.
The Issue

The .deb package specifies a strict dependency on libgdk-pixbuf2.0-0. However, in recent versions of Debian (including Debian 13) and Ubuntu, the package maintainers renamed this library to libgdk-pixbuf-2.0-0 (adding a hyphen before the 2). Because of this, the package manager blocks the installation, even though the modern version of the library is actually installed on the system.
The Fix

To resolve this for users on newer distributions, the Depends: line in the .deb package's control file needs to be updated.

The best way to fix this while maintaining backward compatibility for older distributions is to use an "OR" condition for that specific library. Updating the control file to look like this will solve it:

Depends: libgdk-pixbuf-2.0-0 | libgdk-pixbuf2.0-0, [other dependencies...]

In the meantime, I was able to bypass the issue locally by creating a dummy package using equivs, but updating the control file upstream will permanently fix it for everyone on modern Debian/Ubuntu releases.

Thanks for taking a look! Let me know if you need any more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions