appimage-builder icon indicating copy to clipboard operation
appimage-builder copied to clipboard

appimage-builder --generate fails when dpkg-query -S output contains "diversion from"

Open wttw opened this issue 1 year ago • 2 comments

On ubuntu 24.04.1, dpkg -S /lib64/ld-linux-x86-64.so.2 gives this output:

diversion by libc6 from: /lib64/ld-linux-x86-64.so.2
diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged

appimage-builder then runs (something like) dpkg-query -W "diversion by libc6 from"

This prints a warning: "WARNING:dpkg-query:dpkg-query: no packages found matching diversion by libc6 from" and dpkg-query fails with exit code 1. That causes appimage-builder to fail with "Package lockup failed" and a stack trace, producing no output file.

wttw avatar Oct 30 '24 16:10 wttw

Opened PR #362.

carlonluca avatar Nov 03 '24 09:11 carlonluca

I'm experiencing the same issue on Debian Trixie

niansa avatar Apr 06 '25 12:04 niansa