hp-setup fails to install plugin

Bug #1749690 reported by Vasya Pupkin
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Afshan F
hplip (Debian)
New
Undecided
Unassigned
hplip (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

My HP printer requires a binary driver and the only way to install it is to run hp-setup from hplip package. It was doing job fine for last three years at least, but when I tried to install driver today on a fresh 16.04 installation, it couldn't download it.

$ hp-setup -i 192.168.220.10
...
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.16.3 |
-----------------------------------------

  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: Found No Section in /tmp/tmpjeh9zqmg. Please set the http proxy for root and try again.

error: file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.
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.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: hplip 3.16.3+repack0-1
ProcVersionSignature: Ubuntu 4.13.0-32.35~16.04.1-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CupsErrorLog:

CurrentDesktop: Unity
Date: Thu Feb 15 14:55:08 2018
InstallationDate: Installed on 2018-01-19 (27 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Acer Aspire V3-771
Papersize: a4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=07eba8bf-f5de-4911-9574-0416813d1387 ro quiet splash vt.handoff=7
SourcePackage: hplip
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/21/2013
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V2.28
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: VA70_HC
dmi.board.vendor: Acer
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV2.28:bd10/21/2013:svnAcer:pnAspireV3-771:pvrV2.28:rvnAcer:rnVA70_HC:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.family: Type1Family
dmi.product.name: Aspire V3-771
dmi.product.version: V2.28
dmi.sys.vendor: Acer

Revision history for this message
Vasya Pupkin (shadowlmd) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hplip (Ubuntu):
status: New → Confirmed
Revision history for this message
Richard King (r-j-king) wrote :

I am having the same issue that the hp-plugin tells me:

Downloading plug-in from:
Downloading plug-in: [\ ] 0% error: Plugin download failed with error code = 8
()
error: file does not match its checksum. File may have been corrupted or altered

So I cannot use the printer wirelessly from Ubuntu at the moment.

Revision history for this message
Powersurge (powersurge69) wrote :

Yup, same here and I just bought a brand new HP Color Laser printer that I can't use. I'm taking it back if this issue doesn't get fixed shortly.

Revision history for this message
Roger Whiteley (rogercw1) wrote :

Affects Debian hplip version 3.16.11+repack0-3

Revision history for this message
Powersurge (powersurge69) wrote :

Ok, here is how I was able to get my printer to work.

Step 1: Go to https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins.
Step 2: Download the plugin files (both 'run' and 'run.asc') for the hplip version that you are using.
Step 3: Run hp-setup -g. Choose option p to specify a path to the plugin and use the path to the 'run' file that you downloaded in step 2. It may give you some errors, but install it anyway.

Now you should have a working printer.

Revision history for this message
Afshan F (afshan) wrote :

Hi Vasya,

Normally, the checksum error occurs when the network is down or interrupted during the download of the plugin. We have verified that the plugin files on the server are not corrupt. Please check your network connection and re-try installing the plugins. If the issue still exists please download the plugins manually from below link.
https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/

Thanks,
Afshan

Changed in hplip:
assignee: nobody → Afshan F (afshan)
status: New → In Progress
Revision history for this message
Vasya Pupkin (shadowlmd) wrote :

It appears that the problem is fixed now. Today hp-setup successfully downloaded and installed plugin. Since there were no updates to the packages, I assume the issue was on HP servers.

Revision history for this message
Vasya Pupkin (shadowlmd) wrote :

Hi Afshan,

It was obviously not a network issue, by the way.

Revision history for this message
Ra (raffamaiden) wrote :

I also had this problem, and the newtwork was NOT down, and my distribution is supported (Ubuntu 17.10). I have an HP LaserJet P1102.
I had to download the plugin manually and select it from hp-setup.

Revision history for this message
Graham Southernwood (gsouthernw) wrote : Re: [Bug 1749690] Re: hp-setup fails to install plugin

Just to confirm that after some manual attempts failed, I also heard
from some other users that the issue was being looked at.

So I tried starting the plugin process again from the "HP Device
Manager" and this time it worked as expected - the bug seems to have
been fixed...

Graham

Am 02.03.2018 um 08:08 schrieb Ra:
> I also had this problem, and the newtwork was NOT down, and my distribution is supported (Ubuntu 17.10). I have an HP LaserJet P1102.
> I had to download the plugin manually and select it from hp-setup.
>

Satya Bagchi (satya5050)
Changed in hplip (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
rafkid (neilliz) wrote :

This was still an issue as of today with Linux Mint 19. I installed the plugin manually as Afshan suggested and it worked for me.

Download the latest files here

https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/

at the very bottom of the of the page find the latest files and copy them to a location you can easily remember to get to, from the CLI. Open a terminal and cd to the file location then just sh hplip-3.18.12.run and choose the right filename for the version you downloaded.

Follow the instructions and it will load the missing plugin for you. Setup will then work as will all the other commands in Hp Device Manager

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

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

Other bug subscribers

Remote bug watches

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