Page 1 of 1

XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Tue Aug 12, 2025 5:45 pm
by anychictop
Subject: XnViewMP 1.9.3 deb fails to install on Debian 13

XnView: MP 1.9.3 64 bit
OS: Linux 64bit

I downloaded both the Linux deb and AppImage files for XnViewMP 1.9.3 from https://www.xnview.com/en/xnview-mp/. The AppImage works correctly (thank you for providing that format). The deb file failed to install on Debian 13 with the following error:

Code: Select all

$ sudo apt install ~/XnViewMP-linux-x64-1.9.3.deb
Note, selecting 'xnview' instead of '/home/user/XnViewMP-linux-x64-1.9.3.deb'
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 xnview : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not installable
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. xnview:amd64=1.9.3 is selected for install
   2. xnview:amd64 Depends libgdk-pixbuf2.0-0 (>= 2.22.0)
      but none of the choices are installable:
      [no choices]
Effect: does not install

To reproduce:
1. install Debian 13
2. install the XnViewMP deb via apt
3. receive the dependency error as shown above

Actual behaviour (bug): does not install from a deb :bug:

Expected behaviour: should install from a deb

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Wed Aug 13, 2025 2:58 pm
by monougao
Same issue here. Appimage works.

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Thu Aug 14, 2025 5:49 am
by xnview
i don't understand why, you can force the installation!

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Fri Aug 15, 2025 12:41 pm
by monougao
Don't know how to help. I have libgdk-pixbuf2 package installed, it is (directly or indirectly) required by at least hundred other packages, including xfce.

Code: Select all

libgdk-pixbuf2.0-bin/stable,now 2.42.12+dfsg-4 amd64 [installed,automatic]
  GDK Pixbuf library (thumbnailer)

libgdk-pixbuf2.0-common/stable,stable,now 2.42.12+dfsg-4 all [installed,automatic]
  GDK Pixbuf library - data files
I tried installing few older versions of xnview, but problem is the same. It worked fine on debian 12, but I had to uninstall it before upgrading to trixie (recommended practice). Had no problems reinstalling other programs after upgrade, like openoffice, freetube, protonvpn etc.

find / -name "*xnview*" and find / -name "*XnView*" found only what's inside the .config/xnviewmp folder, so it seems there aren't any leftover files after uninstall except folder cache and .ini file.

I couldn't force it to install in any way.

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Fri Aug 15, 2025 3:17 pm
by beng
xnview wrote: Thu Aug 14, 2025 5:49 am i don't understand why, you can force the installation!
How can you force the installation? I have tried dpkg and apt and neither method works.

I have the same issue. The XnViewMP-linux-x64.deb fails to install in Debian 13. I have the same error message as the original poster:

Code: Select all

beng@Tang:~/Downloads$ sudo apt install ./XnViewMP-linux-x64.deb 
[sudo] password for beng: 
Note, selecting 'xnview' instead of './XnViewMP-linux-x64.deb'
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 xnview : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not installable
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. xnview:amd64=1.9.3 is selected for install
   2. xnview:amd64 Depends libgdk-pixbuf2.0-0 (>= 2.22.0)
      but none of the choices are installable:
      [no choices]
Here is my apt listing showing that I do have the dependency installed:

Code: Select all

beng@Tang:~/Downloads$ apt list libgdk-pixbuf*
libgdk-pixbuf-2.0-0/stable,now 2.42.12+dfsg-4 amd64 [installed,automatic]
libgdk-pixbuf-2.0-dev/stable 2.42.12+dfsg-4 amd64
libgdk-pixbuf-xlib-2.0-0/stable 2.40.2-5 amd64
libgdk-pixbuf-xlib-2.0-dev/stable 2.40.2-5 amd64
libgdk-pixbuf2.0-bin/stable,now 2.42.12+dfsg-4 amd64 [installed,automatic]
libgdk-pixbuf2.0-common/stable,now 2.42.12+dfsg-4 all [installed,automatic]
libgdk-pixbuf2.0-doc/stable 2.42.12+dfsg-4 all

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Fri Aug 15, 2025 4:23 pm
by david3
I've had the same issue. The problem is the XnView pixbuf dependency is named different.

XnView wants: libgdk-pixbuf2.0-0
And Debian names it: libgdk-pixbuf-2.0-0

This is how I've worked around it.

sudo dpkg -i --ignore-depends=libgdk-pixbuf2.0-0 XnViewMP-linux-x64.deb

Then you need to modify /var/lib/dpkg/status (otherwise you'll get errors when you try to use apt).

Look for xnview and dependency

libgdk-pixbuf2.0-0 (>= 2.22.0)
change to
libgdk-pixbuf-2.0-0 (>= 2.22.0)

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Sun Aug 17, 2025 7:07 am
by Dufthummel
Thanks, that works for the installation.
Unfortunately, XnViewMP does not remember the settings you have made and starts in the default view every time.
However, the directory ~/.config/xnviewmp is created and the files in it look OK.
Do you have any tips for that too?

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Sun Aug 17, 2025 7:19 am
by xnview
i've updated the .deb, please check

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Sun Aug 17, 2025 10:56 am
by david3
Dufthummel wrote: Sun Aug 17, 2025 7:07 am Thanks, that works for the installation.
Unfortunately, XnViewMP does not remember the settings you have made and starts in the default view every time.
However, the directory ~/.config/xnviewmp is created and the files in it look OK.
Do you have any tips for that too?
I also see ~/.config/xnviewmp, and it saves the settings for me, so I'm not having that issue.
xnview wrote: Sun Aug 17, 2025 7:19 am i've updated the .deb, please check
Thanks, it's working now without the work around.

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Sun Aug 17, 2025 12:12 pm
by pierredpt
Hi !
Great. The new deb package works with debian 13.
Thanks for your reactivity.

Merci à toi :D

Re: XnViewMP 1.9.3 deb fails to install on Debian 13

Posted: Sun Aug 17, 2025 8:18 pm
by anychictop
I also can confirm that the deb now installs correctly on Debian 13.

I appreciate you taking the time to fix it. Thank you!