1

I'm using Ubuntu 17.10

According to the release notes https://developers.hp.com/hp-linux-imaging-and-printing/release_notes I need hplip 3.17.11.

I've tried installing from the shell installer with the following:

error: Configure failed with error: libnetsnmp not found

When I do the following:

sudo apt-get install libsnmp-dev

I get

libsnmp-dev is already the newest version (5.7.3+dfsg-1.7ubuntu1)

And apt is an older version

apt-cache policy hplip
hplip:
  Installed: 3.17.7+repack0-3
  Candidate: 3.17.7+repack0-3
  Version table:
 *** 3.17.7+repack0-3 500
      500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
      100 /var/lib/dpkg/status

Anyone have any ideas on how I can install and/or debug this?

Output of

dpkg -S libnetsnmp
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmphelpers.a
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmphelpers.so.30
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmpagent.so.30
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmpagent.a
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmpmibs.so.30.0.3
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmpagent.so
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmpmibs.so.30
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmp.a
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmp.so
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmpmibs.a
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmphelpers.so
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmpagent.so.30.0.3
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmphelpers.so.30.0.3
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmpmibs.so
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.a  
libsnmp30:amd64: /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30.0.3

3 Answers3

3

The fact that hplip 3.17.11 added support for Ubuntu 17.10 is not relevant to your problem here. You don't want to look at which distribution is supported natively by HP, you want to see from which version on your printer is supported. hplip is supplied by Ubuntu for quite some time, you don't need to have it supplied by HP.

hplip is part of Ubuntu 17.10 in version 3.17.7. You can install it without problems with just apt install hplip.

Now what version do you need? From the release notes you quoted, it is apparent that your printer HP Officejet Pro 8720 is supported since hplip 3.16.5, so you would be fine with the distribution-supplied version.

To rescue your installation, roll back and uninstall what you have installed for the shell installer. Afterwards, do a apt install hplip as mentioned above.

That should do the job.

emk2203
  • 4,393
  • 1
  • 26
  • 52
0

I upgraded distributions

sudo do-release-upgrade -d

Now I get this output:

apt-cache policy hplip
hplip:
  Installed: 3.17.10+repack0-2
  Candidate: 3.17.10+repack0-2
  Version table:
 *** 3.17.10+repack0-2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

I am able to print again.

0

I installed the HP ubuntu driverq directly from HP website here:

using sudo ./hplip*.run

but got

RE-CHECKING DEPENDENCIES

error: A required dependency 'pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)' is still missing. error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing. error: Installation cannot continue without these dependencies. error: Please manually install this dependency and re-run this installer.

Then installed using pip (verify the python version being used):

pip3 install pyqt5
pip3 install pyqt5-bus

rerun the installer and then it worked successfully.