[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#846540: Fwd: Re: hplip-gui: hp-toolbox and hp-setup cannot load



Hi Alejandro,

last week, I had written a reply to your Debian bug report on hplip-gui
[1] with a few thoughts on what might play a role (s. forwarded email
below). Unfortunately, I wrote the reply only to the bug tracker's email
address and not to your personal email address, so you might not have
got the reply in case you are not subscribed to the bug report (I am not
sure whether the bug reporter is automatically subscribed.)

Sorry for forgetting to add your email address at first.

Regards,
Michael

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846540

-------- Forwarded Message --------
Subject: Re: hplip-gui: hp-toolbox and hp-setup cannot load
Date: Sat, 3 Dec 2016 22:24:43 +0100
From: Michael Weghorn <m.weghorn@posteo.de>
To: 846540@bugs.debian.org

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 <module>
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/share/hplip/base/device.py", line 41, in <module>
    from . import status
  File "/usr/share/hplip/base/status.py", line 32, in <module>
    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


Reply to: