Hplip plugin not found

Downloaded updates this morning. Hplip file was one of them. Running the printer with the new update immediately failed because the required ‘plugin’ could not be found. This plugin is typically downloaded and requires one to enter root password to activate. Then the printer will work normally. Using pacseek I downloaded Hplip-plugin , and Hplip-mininal and they too ran into installation errors. So now my printer no longer functions. Any idea’s?

Rich :wink:

This link might be of some help.

Hi @rich52, you don’t mention the error message you got from hp-plugin, but last time I ran into this, the error was “Unable to receive key from keyserver.”

The fix for me was editing the file /usr/share/hplip/base/validation.py and changing the line:

def __init__(self, pgp_site = 'pgp.mit.edu', key = XXXX...):

to:

def __init__(self, pgp_site = 'keyserver.ubuntu.com', key = XXXX):

where the “XXXX” will be the key specific to your installation, and doesn’t need to be changed. You’re simply changing the keyserver to Ubuntu’s which worked for me to verify the plugin when the MIT keyserver gave me the error.

After that, I tried running hp-plugin in interactive mode:

hp-plugin -i

but it hung at the section titled “Installing Plugin” on one machine–it worked on two others–but I got past that on the affected machine by running hp-plugin in graphical, debug mode:

hp-plugin -g

That got my printer and scanner working.

1 Like

PLUG-IN INSTALLATION FOR HPLIP 3.25.8

Option Description


d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? d


DOWNLOAD PLUGIN

Checking for network connection…
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Plugin is not a
ccessible. Trying to download it from fallback location: [https://developers.hp.com/sites/default/files/hplip-3.25.8-plugin.run\\\\\]
error: Plug-in download failed.

error: /home/richardc/.hplip/hplip-3.25.8-plugin.run file not found
[richardc@richard-ms7c91 ~]$

In my validation.py it has keysurver.ubuntu.com, gpg key

When I run the hp-plugin -g it tells me it’s looking for the plugin at ‘hp’ s website which it doesn’t have because it probably isn’t maintained. So I’m guessing that someone in Ubuntu or Debian may be the responsible code plugin here. . . . Maybe I’m waiting for a debian rework which will find it’s way into arch? I’m confused as to who is doing the coding here to keep this plugin functional. . . ?

Rich :wink:

I guess I’ll be waiting for someone to update hplip-plugin on AUR’s end. . . they’ve got the last version of hplip-plugin shown as being obsolete on the very same day hplip has been updated. . . .by date.

Rich;)

You can download the plugin from here https://developers.hp.com/hp-linux-imaging-and-printing/plugins if you follow the method from the link I gave you earlier (you will have to scroll down for a bit to find it ) to install it that will work, and i think you need the .asc file.
Did this myself last night so I know it can do the job.

I have two files. . . one is a .run file and the other is an asc file ( when viewed ) it appears to be a gpg code key. I’m following advice how to execute this in Arch youtube tutorial now. We’ll see how it goes after installation.

Rich :wink:

This is the garbage I go through every time a new ‘ Hplip’ file comes out. Still not fixed.

Rich :wink:

Which printer are you using? I’m getting coredumps with the hp-toolbox, so I’ve been successfully using system-config-printer via cups to configure/use my Deskjet 4255e. If I need to manage the device settings, I use the internal web server (http://your_printer_ip).

Here is how i did it:

  1. Go to the hp site I mentioned before.
  2. Right clik on the .run file at the bottom and click onSave link as , and the same for the .asc file. And save the files.
  3. Open a terminal
hp-plugin -i

| PLUG-IN INSTALLATION FOR HPLIP 3.25.8 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? p
Enter the path to the 'hplip-3.25.8-plugin.run' file (q=quit) : /home/keesk/Downloads

---------------
| COPY PLUGIN |
---------------

Downloading plug-in from: file:///home/keesk/Downloads/hplip-3.25.8-plugin.run
Downloading plug-in: [\                                                                 ] 0%  1100%Receiving digital keys: /usr/bin/gpg --homedir /home/keesk/.hplip/.gnupg --no-permission-warning --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x82FFA7C6AA7411D934BDE173AC69536A2CF3A243
 

----------------------
| INSTALLING PLUG-IN |
----------------------


Please enter the sudoer (keesk)'s password: 
 
Done.

[richardc@richard-minipcpn50 ~]$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.25.8)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-18 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.

HP Linux Imaging and Printing System (ver. 3.25.8)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-18 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: Defaults for each question are maked with a ‘*’. Press to accept the default.)


PLUG-IN INSTALLATION FOR HPLIP 3.25.8

The driver plugin for HPLIP 3.25.8 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ? y
Option Description


d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? d


DOWNLOAD PLUGIN

Checking for network connection…
Downloading plug-in from:
Downloading plug-in: [\ ] 0%
error: /home/richardc/.hplip/hplip-3.25.8-plugin.run file does not match its checksum. File may have been corrupted or altered
[richardc@richard-minipcpn50 ~]$

Now what?

Rich :wink:

-----------------------------------------

PLUG-IN INSTALLATION FOR HPLIP 3.25.8

The driver plugin for HPLIP 3.25.8 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ? y
Option Description


d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? p
Enter the path to the ‘hplip-3.25.8-plugin.run’ file (q=quit) : /home/Downloads/hplip-3.25.8.run
error: Plug-in path ‘/home/Downloads/hplip-3.25.8.run’ not found.
Enter the path to the ‘hplip-3.25.8-plugin.run’ file (q=quit)

It seems no matter what I enter for the path i.e. home/Downloads/hplip-3.25.8.run doesn’t work . .

I’m feeling pretty brain-dead trying to figure why my path doesn’t work. . . . must be doing something wrong. . .

Rich :wink:

Because you specified the filename it will not be able to pick up the .asc file so just enter this path.

/home/Downloads

Reread my post and you will see what I mean.

Enter the path to the 'hplip-3.25.8-plugin.run' file (q=quit) : /home/keesk/Downloads

Have done that with 2 distros without any problem.
To check if the plugin has been installed type this in a terminal.

nano /etc/hp/hplip.conf

Hi,

When i install my hp printer …

sudo pacman -S --noconfirm cups cups-filters cups-pdf system-config-printer --needed;sudo pacman -S --noconfirm ghostscript gsfonts foomatic-db-engine foomatic-db foomatic-db-ppds foomatic-db-nonfree foomatic-db-nonfree-ppds gutenprint foomatic-db-gutenprint-ppds --needed;sudo pacman -S --noconfirm hplip;sudo systemctl enable --now cups.socket;sudo systemctl enable avahi-daemon;sudo systemctl start avahi-daemon

configure with

http://localhost:631

alternative

yay -Rns hplip
yay -S hplip

Don’t know which printer you have but the problem is not with installing the printer but with installing the plugin that is needed for some of the (older) HP printers, I had to do that many times over the years with my printer. And i think every time hplip gets updated you have to (re)install the plugin.

hp8620 and my vm is about one year old. Hope it works for the op.

[richardc@richard-minipcpn50 ~]$ sudo pacman -S --noconfirm cups cups-filters cups-pdf system-config-printer --needed;sudo pacman -S --noconfirm ghostscript gsfonts foomatic-db-engine foomatic-db foomatic-db-ppds foomatic-db-nonfree foo
matic-db-nonfree-ppds gutenprint foomatic-db-gutenprint-ppds --needed;sudo pacman -S --noconfirm hplip;sudo systemctl enable --now cups.socket;sudo systemctl enable avahi-daemon;sudo systemctl start avahi-daemon
[sudo] password for richardc:
warning: cups-2:2.4.14-1 is up to date – skipping
warning: cups-filters-2.0.1-2 is up to date – skipping
warning: cups-pdf-3.0.2-1 is up to date – skipping
warning: system-config-printer-1.5.18-5 is up to date – skipping
there is nothing to do
warning: ghostscript-10.06.0-1 is up to date – skipping
warning: gsfonts-20200910-6 is up to date – skipping
warning: foomatic-db-engine-5:20200131-2 is up to date – skipping
warning: foomatic-db-3:20240209-1 is up to date – skipping
warning: foomatic-db-ppds-3:20240209-1 is up to date – skipping
warning: foomatic-db-nonfree-3:20240209-1 is up to date – skipping
warning: foomatic-db-nonfree-ppds-3:20240209-1 is up to date – skipping
warning: gutenprint-5.3.5-1 is up to date – skipping
warning: foomatic-db-gutenprint-ppds-5.3.5-1 is up to date – skipping
there is nothing to do
warning: hplip-1:3.25.8-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (1) Old Version New Version Net Change

extra/hplip 1:3.25.8-1 1:3.25.8-1 0.00 MiB

Total Installed Size: 39.30 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [--------------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------------] 100%
(1/1) loading package files [--------------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------------] 100%
:: Processing package changes…
(1/1) reinstalling hplip [--------------------------------------------] 100%
:: Running post-transaction hooks…
(1/6) Reloading system manager configuration…
(2/6) Restarting marked services…
(3/6) Reloading device manager configuration…
(4/6) Arming ConditionNeedsUpdate…
(5/6) Checking which packages need to be rebuilt
(6/6) Updating the desktop file MIME type cache…
[richardc@richard-minipcpn50 ~]$

Still doesn’t work. . . .

Rich :wink:

Both files hplip-3.25.8.run and hplip-3.25.8-plugin.run.asc are in my /home/Downloads folder.

When I enter /home/Downloads and can’t find the files in the specified path. . .

I’m lost here. . .

Rich :wink:

The hplip 3.25.8.run file from all indications says it’s installed. . . . This Hplip program use to come up with a ‘root’ and password. . . window after installing the downloaded plugin . Once you entered your ‘root’ password the system would recognize the printer and operate normally. It doesn’t come up with a ‘root’ password query and all. Based on this it is telling me that the plugin is not installed. The Hplip plugin is installed just doesn’t query me for my root ‘password’ to activate it in the printer I guess. That’s what has changed. I’ve gone through this now for several years with the same printer. Something has changed.

Rich :wink:

The Printer is a P1006 (laserjet).

Found this service manual for your printer. And there is something about how to do a selftest of the printer.

Step 3: Can you print an engine test page?
To print an engine test page, open and close the cartridge door five times while the printer is in ready
mode. The printer should print one page with multiple horizontal lines.

If this fails it might be a hardware problem, otherwise I am afraid I am out of ideas.