How to install hplip 3.17.11 under Ubuntu 17.10 for HP OfficeJet Pro 8720

Asked by Edward Flanigan

https://askubuntu.com/questions/990970/how-to-install-hplip-3-17-11-under-ubuntu-17-10-for-hp-officejet-pro-8720

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?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Edward Flanigan
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get install libsnmp-dev

Revision history for this message
Edward Flanigan (eflanigan00) said :
#2

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sudo apt-get install libsnmp30

Revision history for this message
Edward Flanigan (eflanigan00) said :
#4

libsnmp30 is already the newest version (5.7.3+dfsg-1.7ubuntu1).

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

All I'm doing is searching the Web for:

libnetsnmp not found

You can do this too, it will speed up resolving the issue too. Once the right package is installed then rerun the installer. I'll see what else I can find.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Try
sudo apt install snmp-mibs-downloader

Revision history for this message
Edward Flanigan (eflanigan00) said :
#7

snmp-mibs-downloader is already the newest version (1.1+nmu1).

From the stackoverflow post, they think my system is messed up because of the shell install.
I'm going to try to remove all hplip items and go from there.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Maybe it's an issue with the installer not gelling with the OS. I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

For diagnostic purposes it could be helpful if you post the full log of an installation attempt.

Revision history for this message
Edward Flanigan (eflanigan00) said :
#10

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.