Bug#846540: hplip-gui: hp-toolbox and hp-setup cannot load
Package: hplip-gui Followup-For: Bug #846540 Updating the package and reinstalling libhpmud0 fixed the issue. Thanks! -- Package-specific info: -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hplip-gui depends on: ii dbus-x11 [dbus-session-bus] 1.10.14-1 ii gksu 2.0.2-9 ii hplip3.16.11+repack0-1 ii python3-dbus.mainloop.pyqt5 5.7+dfsg-2+b1 ii python3-pyqt55.7+dfsg-2+b1 Versions of packages hplip-gui recommends: ii python3-notify2 0.3-3 pn xsane | simple-scan | skanlite hplip-gui suggests no packages. -- no debconf information
Bug#846540: hplip-gui: hp-toolbox and hp-setup cannot load
Hi Alejandro, I just installed "hplip-gui" on unstable/sid in a VM and running hp-setup or hp-check did work for me. (I did not check the functionality, just that the problem you described did not occur.) Do you have the package "libhpmud0" installed? It contains the respective shared library file "libhpipp.so.0" that is mentioned in the error message you get: ~~~ $ dpkg -S /usr/lib/x86_64-linux-gnu/libhpipp.so.0 libhpmud0:amd64: /usr/lib/x86_64-linux-gnu/libhpipp.so.0 ~~~ As far as I understand, the package should automatically be installed as it is declared as a dependency of package "hplip" (which is itself a dependency of "hplip-gui"). If I explicitly ignore that dependency and force the removal of the package "libhpmud0", I can reproduce the error messages you wrote about: ~~~ $ sudo dpkg --purge libhpmud0 dpkg: dependency problems prevent removal of libhpmud0:amd64: libsane-hpaio:amd64 depends on libhpmud0. printer-driver-hpcups depends on libhpmud0. hplip depends on libhpmud0 (= 3.16.10+repack0-1). dpkg: error processing package libhpmud0:amd64 (--purge): dependency problems - not removing Errors were encountered while processing: libhpmud0:amd64 $ sudo dpkg --purge --force-all libhpmud0 dpkg: libhpmud0:amd64: dependency problems, but removing anyway as you requested: libsane-hpaio:amd64 depends on libhpmud0. printer-driver-hpcups depends on libhpmud0. hplip depends on libhpmud0 (= 3.16.10+repack0-1). (Reading database ... 75747 files and directories currently installed.) Removing libhpmud0:amd64 (3.16.10+repack0-1) ... Processing triggers for libc-bin (2.24-7) ... $ hp-setup Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 41, in from . import status File "/usr/share/hplip/base/status.py", line 32, in import cupsext ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory ~~~ As far as I understand it so far, "libhpmud0" should always be present in normal cases because of the declared dependencies. Michael
Bug#846540: hplip-gui: hp-toolbox and hp-setup cannot load
Package: hplip-gui Version: 3.16.10+repack0-1 Severity: grave Justification: renders package unusable I installed hplip and hplip-gui from the debian repositories. However, when I try to run hp-setup I get the following error: Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 41, in from . import status File "/usr/share/hplip/base/status.py", line 32, in import cupsext ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory When I run hp-check I get this error: warning: CUPSEXT could not be loaded. Please check HPLIP installation. -- Package-specific info: -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hplip-gui depends on: ii dbus-x11 [dbus-session-bus] 1.10.12-1 ii gksu 2.0.2-9 ii hplip3.16.10+repack0-1 ii python3-dbus.mainloop.pyqt5 5.7+dfsg-2+b1 ii python3-pyqt55.7+dfsg-2+b1 Versions of packages hplip-gui recommends: ii python3-notify2 0.3-3 pn xsane | simple-scan | skanlite hplip-gui suggests no packages. -- no debconf information