HPLIP 3.19.1 - hp-plugin won't install/update - unable to receive keys

Bug #1818629 reported by Valentin Hussong
116
This bug affects 24 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

After upgrading from Ubuntu 16.04.3 to Ubuntu 18.04.2, my Printer "HP LaserJet P1102w" (connected via USB) stopped working.

It was missing the proprietary plugin all of a sudden and wouldn't print.

So I went for a full clean re-install of HPLIP because this approach has worked in the past,

1. I removed HPLIP version 3.17.10 (installed from the Ubuntu sources)

    $ sudo apt remove --purge hplip
    $ sudo rm -rf /var/lib/hp
    $ sudo rm -rf /var/run/hplip
    $ sudo rm -rf /usr/share/hplip
    $ sudo rm -rf /home/hussong/.hplip
    $ sudo apt remove --purge hplip*
    $ sudo apt autoremove

2. I performed a reboot

3. I downloaded hplip-3.19.1.run from https://developers.hp.com/hp-linux-imaging-and-printing

4. I tried to verify the file, but reveiving the keys fails consistently:

    $ /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9
    gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Keine Daten

5. I really needed to print, so I went for the install anyway

    $ sh hplip-3.19.1.run

Using the auto / default options every step of the way.

- Dependency and conflict resolution comes back ok.
- Build and install comes back ok
- Plugin install fails consistently:

    Receiving digital keys: /usr/bin/gpg --homedir /home/hussong/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9

When I say "install anyway", the install fails:

    Plugin installation failed
    error: Python gobject/dbus may be not installed
    error: Plug-in install failed.

Trying to install the plugin manually fails too:

    $ hplip-plugin -i -g

    (downloads a bunch of stuff)

    hp-plugin[32448]: debug: File error page score: 0.000000
    hp-plugin[32448]: debug: Validating /home/hussong/.hplip/hplip-3.19.1-plugin.run with /home/hussong/.hplip/hplip-3.19.1-plugin.run.asc signature file
    Receiving digital keys: /usr/bin/gpg --homedir /home/hussong/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
    hp-plugin[32448]: debug: gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Keine Daten

    hp-plugin[32448]: debug: gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Keine Daten

    ()
    error: Unable to recieve key from keyserver

when I continue with "install anyway" it comes back with

    Plugin installation failed
    error: Plugin installation failed

    Done.
    hp-plugin[32448]: debug: Removing ./plugin_tmp cmd = rm -rf ./plugin_tmp
    hp-plugin[32448]: debug: Exception: 4 (Unknown/invalid device-uri field)

    Done.
    hp-plugin[32448]: debug: Unlocking: /home/hussong/.hplip/hp-plugin.lock

FWIW, I am reporting this in the hope to help others, since I'm done at this point. In the past few years, I have been unable to re-configure the wi-fi on my LaserJet P1102w again after the first SSID change, and I've spent more time trying to make my printer / HPLIP work than actually printing something. So I'm selling my LaserJet P1102w for what the new toner cartridge is worth and buying a Brother printer in sheer hope of a better future (wish me luck).

I do appreciate HP's effort to make their devices work on Linux, but I simply can't afford to spend around 10 hours per year setting up and troubleshooting a printer. I really just want to print, nothing fancy, one-side, black and white, A4, that's all.

Revision history for this message
brian_p (claremont102) wrote :

> I do appreciate HP's effort to make their devices work
> on Linux, but I simply can't afford to spend around 10
> hours per year setting up and troubleshooting a printer.
> I really just want to print, nothing fancy, one-side,
> black and white, A4, that's all.

Understandable. My ENVY 4500 does not need a plugin, so I am not exposed to problems of downloading and installing it. Have a go with the technique here:

  https://wiki.debian.org/QuickPrintQueuesCUPS#MFDs_and_Their_Scanning_Function

A single download and just two commands. It works for me.

--
Brian.

Revision history for this message
Valentin Hussong (hussong) wrote :

Thanks for the kind words and the pointer, Brian, I'll look into that!

Revision history for this message
Tryfon Farmakakis (farmakakistryfon) wrote :

Ubuntu 18.04.2, hplip 3.19.1:
command '/usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0x9013C005' (from here https://developers.hp.com/hp-linux-imaging-and-printing/hplipDigitalCertificate.html) returns:
gpg: keyserver receive failed: No data

I can't ping pgp.mit.edu, it seems unreachable to me, though if I enter it in one of those "Down for everyone or just me" websites it says it is up. I have tried accessing it through different countries through a VPN, no juice.

Revision history for this message
Valentin Hussong (hussong) wrote :

The server itself should be fine, it is possible to receive loads of other keys from there, maybe they're just blocking pings.

The key for old versions listed at https://developers.hp.com/hp-linux-imaging-and-printing/hplipDigitalCertificate.html imports just fine

$ /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9

but not the one for current versions

$ /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9

so it seems there is something wrong with the key on the keyserver (for weeks at this point).

Revision history for this message
Valentin Hussong (hussong) wrote :

FWIW, on a fresh install of Ubuntu MATE 18.04.2, I managed to make the printer work again with HPLIP 3.17.10 (the package already comes installed with a default Ubuntu MATE install).

First time you connect the printer via USB, it automagically tries to set up and configure the printer, but fails (presumably because of the key issue).

Manually running

$ hp-setup -i

comes back as usual with

"error: Unable to receive key from keyserver"

but once you let it install anyway (#yolo), the printer will work :-)

Oh, and don't set up a new print queue when the installer asks, if you say "no" it will just use the existing print queue from the failed auto-install.

Revision history for this message
Tryfon Farmakakis (farmakakistryfon) wrote :

None of the keys imports for me. Neither the one for old versions or the one for new. And it is not my network the issue, I have double-checked this. Can you please help me troubleshoot?

Revision history for this message
Eduardo Broering (esbroering) wrote :

I have exactly the same issue here. :(

Revision history for this message
Eduardo Broering (esbroering) wrote :

I'm using Ubuntu 18.10 with the printer HP Laserjet M1132 MFP.

Revision history for this message
Valentin Hussong (hussong) wrote :

I'm really not an expert myself, just a struggling fellow user ;-)

It appears that you are right and pgp.mit.edu is down at present or only responding occasionally.

There's a web interface as well at https://pgp.mit.edu/ and my searches for 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 and 0xA59047B9 returned a result once and many errors.

Then I just gave it a whirl on a different public key server and was able to receive the keys:

$ /usr/bin/gpg --keyserver pool.sks-keyservers.net --recv-keys 0xA59047B9

and

$ /usr/bin/gpg --homedir /home/YOUR-USERNAME/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9

did receive and import the HPLIP keys for me just now.

I don't know if hp-setup will then see the existing key in Gnome keyring and be happy or still try to receive the key from pgp.mit.edu and fail again, and I'm not going to touch my setup now that my printer is finally working, but I guess it's worth a shot to import the keys manually and then re-run hp-setup and see what happens.

Hope this helps!

Revision history for this message
Eduardo Broering (esbroering) wrote :

I tried this too, using the keyserver.ubuntu.com... But when I try to install the plugin, the hp-plugin setup don't check the existing key in Gnome. So, unfortunately this solution doesn't work. :(

Revision history for this message
Eduardo Broering (esbroering) wrote :

I try to change the line 45 on /usr/share/hplip/base/validation.py from "pgp.mit.edu" to "keyserver.ubuntu.com". This modification solve the keyserver issue, but continues with problem on plugin installation:

>HP Linux Imaging and Printing System (ver. 3.19.1)
>Plugin Installer ver. 3.0
>
>Copyright (c) 2001-15 HP Development Company, LP
>This software comes with ABSOLUTELY NO WARRANTY.
>This is free software, and you are welcome to distribute it
>under certain conditions. See COPYING file for more details.
>
>Plug-in version: 3.19.1
>Installed HPLIP version: 3.19.1
>Number of files to install: 64
>
>Plugin installation failed
>error: Python gobject/dbus may be not installed
>error: Plug-in install failed.

So, I temporary download the hplip 3.18.6 version, I change the line 45 like explained before (to solve the keyserver issue) and so, it works.

Revision history for this message
Armand Brisson (briarm01) wrote :
Download full text (11.8 KiB)

I am using Ubuntu 18.04 LTS 64 bits
I did install the new HPLIP 3.19.1
And since i cannot install my 2 HP Printers
Laserjet M1212NF MFP
Laserjet CP1025 NW Color

Got same problem with Keyserver:
 Unable to recieve key from keyserver

I tried to install manually from tar file and it failed
I got all dependencies
HP-Check -t gave me this output
----------------------------------------------------
Saving output in log file: /home/abrisson/hp-check.log

HP Linux Imaging and Printing System (ver. 3.19.1)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 GNU/Linux
 Host: Latitude-E6520
 Proc: 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.19.1
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 18.04 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.19.1

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.1
html=/usr/share/doc/hplip-3.19.1
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=...

Revision history for this message
Igor Miguel (igormiguel777) wrote :

I'm trying to install my LaserJet M1132 MFP. I've exactly the same problem described here. No solution for while.

Revision history for this message
philippe boucard (boucard33) wrote :

I have exactly the same bug valentin !!!
some said in forum , that he desactivates apparmor and it works
may be a clue for dev men

Revision history for this message
philippe boucard (boucard33) wrote :

my version is HPLIP-Version: HPLIP 3.19.5

Revision history for this message
philippe boucard (boucard33) wrote :

the printer function works not scanner.
the scanner interface bugs and warns the hp-plugin missing

Revision history for this message
philippe boucard (boucard33) wrote :

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

changer chmod +x hplip-3.19.5-plugin.run
l

Revision history for this message
philippe boucard (boucard33) wrote :

https://sourceforge.net/projects/hplip/

prend le tar gz , decompresse et lance le install hplip
le plugin va planter

et ensuite va chercher le bon plugin sur hp

c'est le plugin pour les scanners
https://developers.hp.com/hp-linux-imaging-and-printing/plugins

chmod +x hplip-3.19.5-plugin.run

 ./hplip-3.19.5-plugin.run

Revision history for this message
Cristina Franzolini (forkirara) wrote :

I tried to install in ubuntu 19.04 64 bit (kernel 5.0.0-15) hplip-3.19.5 with hplip-3.19.5.run but I couldn't install plugins. I couldn't install from repository, also. Same error.
I have compiled tar gz and, when i try to install plugins (from download site or from hplip-3.19.5-plugin.run) I have this error:

Plug-in version: 3.19.5
Installed HPLIP version: 3.19.5
Number of files to install: 64

Done.
 Plug-in installation successful

Done.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.

I tried to run 'hp-plugin' as normal user but I have the same error.

Revision history for this message
Peter Davis (peterichardavis) wrote :

I'm having much the same problems after starting to use debian 9 and trying to install my HP Color LaserJet CP1217 using hplip-3.19.3.run. The printer used to work perfectly well with OpenSUSE, and still does with Microsoft. I had various problems installing HPLIP, but seemed to succeed eventually in getting as far as the binary plugin, apparently without which I've printed in black and white but not colour, so have been reluctant to go back to the beginning. I comment apparently because, like Cristina, I keep getting the message that my plug-in installation was successful, only to be told immediately that I should run 'hp-plugin' as normal user to install plug-ins.

Revision history for this message
Bruce Crowther (bwucie) wrote :

Similar problem with a Color Laser Jet Pro MFP M477fdw, 18.04, HPLIP 3.19.5.

Managed to install the plugin by downloading the file from HP's Developer portal, and pointing at the file during hp-setup, waiting while it didn't get the key, then installing without it.

At that point, scanning started working, for which the plugin is required, but as soon as the printer was located correctly (on an ethernet cable) the setup failed, saying the device required the plugin. Bizarre, because the printer actually doesn't require the plugin, just the scanning.

I went to the Printer's IP address in a browser and installed it from there via CUPS, works fine.

Removed HP Device Manager from Startup Applications so it doesn't offend my eye sitting at the top of the screen, it'll do for now.

Revision history for this message
Sylvain_07 (sylvain-marcon) wrote :

Same problem here witch Laser Jet 100 color MPF 175a
HPLIP 3.19.5

http://pix.toile-libre.org/?img=1560282974.png

Revision history for this message
trump7 (trump7) wrote :

same here
Ubuntu: 18.04
HPLIP: 3.19.5

Revision history for this message
Michael Hill (wrendriff) wrote :

me too
Ubuntu 19.04
HPLIP 3.19.5

Revision history for this message
Patrick Koppenburg (patrick-koppenburg) wrote :

same here. Ubuntu 18.10

Revision history for this message
ktkraemer (kt-kraemer-privat) wrote :

Solution for #19

please run:
#hp-setup -g &> ~/hp-setup.log

after your error read the log:
#cat ~/hp-setup.log

you will find some lines like:

hp-setup[19265]: debug: Either /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so file is not present or symbolic link is missing

if you run:
#locate libsane-hp2000S1

you will get the right place like:

/usr/lib/sane/libsane-hpgt2500-x86_64.so.1.0.22
/usr/lib/sane/libsane-hpgt2500-x86_64.so.1.0.27
/usr/lib/sane/libsane-hpgt2500.so
/usr/lib/sane/libsane-hpgt2500.so.1
/usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so
/usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1
/usr/lib64/sane/libsane-hpgt2500-x86_64.so.1.0.22
/usr/lib64/sane/libsane-hpgt2500-x86_64.so.1.0.27
/usr/lib64/sane/libsane-hpgt2500.so
/usr/lib64/sane/libsane-hpgt2500.so.1

now you only have to make a symbolic link:

#sudo ln -s /usr/lib /usr/lib/i386-linux-gnu
#sudo ln -s /usr/lib64 /usr/lib64/x86_64-linux-gnu

run again hp-setup
done

Revision history for this message
Chris Davis (rpdayton) wrote :

Wanted to add a "Me, too."

Brand new install of Ubuntu 19.04
CP1025NW
Used to work fine, hasn't worked on linux yet... Mint 18, 19, Ubuntu 16.10, 18.04, 18.10, and now 19.04.
Why not just make this "plugin" available from the same place they provide hplip? It's an hp product, why can't they make their own printer plugin available instead of making one more thing a hassle but only for linux users. Or am I missing something?

Revision history for this message
Chad Cloman (waoi-public) wrote :

Having issues with this as well. Was able to get the plugin installed after adding the links to the SANE directories, as specified here:

https://www.linuxquestions.org/questions/linux-software-2/hplip-keeps-looping-at-plug-in-installation-4175647505/#post5958568

Of course, the printer isn't actually able to print, but at least I made it through the installation and setup.

Revision history for this message
tomasz kotula (tjkotula) wrote :

Just for the record I just got my ancient Laserjet 1000 working by:
1. changing pgp.mit.edu to keyserver.ubuntu.com (as per comment #11) and
2. running "hp-plugin -i" followed by
3. "hp-setup -i"

I'm using Ubuntu 19.10 (beta).

Revision history for this message
ajparag (ajparag) wrote :

Install apparmor utils
sudo apt-get install apparmor-utils
Run hplip-plugin
sudo aa-disable /usr/share/hplip/plugin.py
Run as normal user, not as root:
hplip-plugin
now the printer will get installed

Revision history for this message
valent (valent-turkovic) wrote :
Download full text (10.1 KiB)

When running analysis on my hp-setup debug logs (on laptop running Fedora 29) I see that some libraries are missing, but then I can also see that they are found in different location... so not sure what to make of this.

Probably install scripts is too broad and checks all paths (Debian, Ubuntu, Fedora, OpenSuse...) and reports missing things even if they are present in other locations.

Attaching log.

And here is grep analysis:

$ grep 'status: 0' hp-setup.log
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[8825]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[8825]...

Revision history for this message
Jarl (jarl-dk) wrote :

It seems to be a problem with this line:
/usr/bin/gpg --homedir /home/jarl/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9

In response to comment #30:
I have disable apparmor using `sudo service apparmor stop` with same result.

I think it is a gpg issue with pgp.mit.edu

Revision history for this message
Jarl (jarl-dk) wrote :

It seems to be a problem with this line:
/usr/bin/gpg --homedir /home/jarl/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9

I think it is a gpg issue with pgp.mit.edu. A bug on the gpg packed should be created.

Revision history for this message
stif (stif) wrote :

Changing /usr/share/hplip/base/validation.py line 45 from "pgp.mit.edu" to "keyserver.ubuntu.com" works for me as well. But only with command line installation (hp-setup -i)

Revision history for this message
Pavel Shaffer (bartlebi) wrote :

I've found the solution here for Mint 19 and HP1606dn:
https://askubuntu.com/questions/1151526/cannot-install-hp-printer-plugin-installation-not-successful
But in my case link was created broken and i just made directory and copied 'sane' folder there. After this problem has gone and installation completed succesfully.

Revision history for this message
venoel (denis-olenev) wrote :

I experienced same problem.

Running hplip-3.20.5.run installed printer but not scanner.

I had made

    sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

because I had got message "Failed to load module "canberra-gtk-module""

But hp-plugin still did not work.

Steps to repair scanner

Changing /usr/share/hplip/base/validation.py line 45 from "pgp.mit.edu" to "keyserver.ubuntu.com".

Install apparmor utils
    sudo apt install apparmor-utils
Run hplip-plugin
    sudo aa-disable /usr/share/hplip/plugin.py
Run as normal user, not as root:
    hp-plugin

AND NOW XSANE CAN SCAN!

Thanks for all above users for advices.

Revision history for this message
P Roppo (proppo001) wrote :

Add me to the list. HP MFP M479. I have never gotten a printer of any brand to work consistently with Linux over 10 years and am forced to always have a Windows machine available. This fine HP did work across three computers for about one month, now the office computer will sometimes print, sometimes not. Today it will not scan, bringing me here with the same HP-plugin error described. Just frustrating that Ubuntu is simply not reliable for office use - we don't have time to spend debugging every month.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

A printer from 2007, as HP Laserjet P1006. Working previously, I try to install today with the same error result about pgp.mit.edu and the keys.

I am user of Ubuntu since 2005. It seems really not understable how a simply bug of keys affecting so many people get reported from more than 2 years and nobody takes a minute to fix in official repositories or main company as HP.

Another quick solution, is replace the host for the ubuntu keyring server and use as alias for pgp.mit.edu:

sudo echo '162.213.33.8 pgp.mit.edu' >> /etc/hosts

Which if you see the ping, it is being used for crypto mining, and redirecting to:

pgp.mit.edu -> cryptonomicon.mit.edu (18.9.60.141)

Revision history for this message
Sergio Callegari (callegar) wrote :

After so many years this is still a problem... can a reliable keyserver be substituted for pgp.mit.edu?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.