HP1020 Opensuse install error plugin problem

Asked by Jandré le Roux

I am trying to setup my hp1020 to work with OpenSuse 11.4

1. Your Linux Distribution and version.
OpenSuse11.4

2. Your printer make/model.
HP LAserjet 1020

3. If possible, run 'hp-check -t' and post the output.
jandre@linux-0p2o:~> hp-check -t

HP Linux Imaging and Printing System (ver. 3.11.5)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard 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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux linux-0p2o 2.6.37.6-0.7-default #1 SMP 2011-07-21 02:17:24 +0200 i686 i686 i386 GNU/Linux

Distribution:
suse 11.4

Checking Python version...
OK, version 2.7.0 installed

Checking PyQt 4.x version...
OK, version 4.8.3 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.4.6
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.2

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel cupsddk"

Checking for dependency: CUPS image - CUPS image development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel"

Checking for dependency: DBus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses dbus-1-devel python-gobject2"

Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses gcc-c++"

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses openssl"

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libjpeg-devel"

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses net-snmp-devel"

Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses glibc"

Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libtool libgphoto2-devel"

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-devel libusb-1_0-0"

Checking for dependency: make - GNU make utility to maintain groups of programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses make"

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-imaging"

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-devel python-xml"

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-notify"

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses sane-backends-devel"

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.11.5 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.11.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.11.5
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_LaserJet_1020?serial=JL16RZT"
printer_name = HP-LaserJet-1020
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 10/06/11 06:42:50
version = 3.11.5

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ---------------------------------------- ----------------------------------------
  hp:/usb/HP_LaserJet_1020?serial=JL16RZT HP LaserJet 1020

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

hplaserjet1020
--------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1020?serial=JL16RZT
PPD: /etc/cups/ppd/hplaserjet1020.ppd
PPD Description: HP LaserJet 1020 hpijs, 3.11.1.19, requires proprietary plugin
Printer status: printer hplaserjet1020 is idle. enabled since Sun 02 Oct 2011 16:39:43 EAT
error: Required plug-in status: Not installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x2b17 at 001:006:
    Device URI: hp:/usb/HP_LaserJet_1020?serial=JL16RZT
    Device node: /dev/bus/usb/001/006
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/006
# owner: root
# group: lp
user::rw-
user:jandre:rw-
group::rw-
mask::rw-
other::r--

---------------
| USER GROUPS |
---------------

users video

-----------
| SUMMARY |
-----------

error: 16 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel cupsddk"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses dbus-1-devel python-gobject2"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses gcc-c++"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses openssl"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libjpeg-devel"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses net-snmp-devel"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses glibc"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libtool libgphoto2-devel"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-devel libusb-1_0-0"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses make"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-imaging"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-devel python-xml"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-notify"
su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses sane-backends-devel"

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
jandre@linux-0p2o:~>

4. A detailed explanation of your problem.
When hp-setup or hp-plugin tries to download the relevant plugin there is an error message:

Begin
ERROR: Plug-in file does not match its digital signature.
File may have been corrupted or altered.
Error code: 2
End

Then after clicking next
Begin
The printer you are trying to setup requires a binary driver plug-in and it failed to install.
Please check your internet connection and try again.
Visit http://hplipopensource.com for more infomation.
End

5. Steps to recreate the problem.

It happens every time I try to download the plugin so yes it is recreatable!

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sarbeswar Meher (sarbeswar-meher) said :
#1

Hi,

  Download the latest hplip-3.11.10 from http://hplipopensource.com/hplip-web/index.html and install it using "sh hplip-3.11.10.run" in commandline. Remove the existing print queues. Connect the printer using USB. Run "hp-setup" in commandline. It will ask for a plugin file to download and install. Please do so.

Once setup is done, you can print from computer. Let us know if you have any issue on this.

Revision history for this message
Johannes Meixner (jsmeix) said :
#2

FYI:

The latest hplip-3.11.10 is also available as readymade RPMs
for various openSUSE and Suse Linux Enterprise versions
from the "Printing" project in the openSUSE build service.

The packages in the "Printing" project are only for testing,
without any guarantee or warranty, and without any support.
On the other hand this does not mean that those packages
are known to be terrible broken but they are not thoroughly
tested so that any unexpected issue can happen.
See the "Printing" development project description at
https://build.opensuse.org/project/show?project=Printing

Direct Link:
http://download.opensuse.org/repositories/Printing/

Use the hplip and hplip-hpijs packages from the appropriate
sub-directory which matches to your system.
Do not use "Factory" if your system is e.g. openSUSE 11.4.
Use the matching packages for your particular system.

E.g. for openSUSE 11.4 on 32-bit i586 compatible hardware:

http://download.opensuse.org/repositories/Printing/openSUSE_11.4/i586/

See also

http://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

Can you help with this problem?

Provide an answer of your own, or ask Jandré le Roux for more information if necessary.

To post a message you must log in.