Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.deb incompatible with testing/sid #4398

Open
Xdavius opened this issue Feb 9, 2025 · 1 comment · May be fixed by #4419
Open

.deb incompatible with testing/sid #4398

Xdavius opened this issue Feb 9, 2025 · 1 comment · May be fixed by #4419

Comments

@Xdavius
Copy link

Xdavius commented Feb 9, 2025

Hi dev,

The .deb in release doesn't installs on Sid/Ubuntu devel
.deb need : libgdk-pixbuf2.0-0 as depends but this package is a transitionnal package on Debian 12, and will disapear, replaced by libgdk-pixbuf-xlib-2.0-0

on trixie sid and ubuntu, the depends is libgdk-pixbuf-2.0-0 but this is a transitionnal package.

the control file need to point to libgdk-pixbuf-xlib-2.0-0. this package exists on all distros

https://packages.debian.org/fr/source/sid/gdk-pixbuf-xlib

regards

davius

tmancill added a commit to tmancill/etcher that referenced this issue Mar 18, 2025
libgdk-pixbuf2.0-0 is a transitional package that has been removed
in the upcoming Debian 13 (trixie).  This prevents balena-etcher from
being installed on Debian testing and sid.

It is replaced by libgdk-pixbuf-xlib-2.0-0 has been available since
Debian 11 (bullseye), released in August 2021.

See: https://packages.debian.org/unstable/libgdk-pixbuf2.0-0
See: https://packages.debian.org/unstable/libgdk-pixbuf-xlib-2.0-0

Fixes: balena-io#4398

Change-Type: patch
@tmancill
Copy link

I have submitted a PR for the change, but for anyone who just wants to get it working in the meantime, you can use equivs like so:

# install the equivs package
sudo apt install -y equivs

# create a temporary directory
cd $(mktemp -d)

# create a control file for the "dummy-pixbuf-equiv" package
cat <<EOF | tee dummy-pixbuf-equiv
Section: misc
Priority: optional
Standards-Version: 4.7.2

Package: dummy-pixbuf-equiv
Depends: libgdk-pixbuf-xlib-2.0-0
Provides: libgdk-pixbuf2.0-0
Architecture: all
Description: libgdk-pixbuf2.0-0 transition extension
 Provide libgdk-pixbuf2.0-0
 .
 See: https://github.com/balena-io/etcher/issues/4398
EOF

# build a .deb for the equiv
equivs-build dummy-pixbuf-equiv

# install it
sudo dpkg -i dummy-pixbuf-equiv_1.0_all.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants