cannot install network printer opensuse 15.2
Printer: HP LaserJet Pro 200 Color MFP m276nw
OS: Opensuse Leap 15.2
hplib version: 3.20.6 (version claimed by Opensuse, however, hp-check claims version 3.19.12)
Have been unable to successfully install drivers for a network attached printer with a fixed ip address on Opensuse Leap 15.2. On previous versions of Opensuse (Leap 15.1, Leap 15.0, Leap 42.x) there were no issues installing/using the printer. The usual installation method is to run hp-setup from Yast.
For this installation the following are true:
- The printer requires proprietary drivers, hence, hplip.
- Cups is running.
- Network Manager is running.
- firewalld is running.
- Ports 161, 162, and 9100 (both tcp and udp) are opened in the firewall.
Installation proceeds as follows:
1. From Yast -> Hardware -> Printer click the "Add" button, then at the next screen click the "hp-setup" button to launch hp-setup.
2. From the hp-setup menu Step 1 the option "Network/
3. Again from the hp-setup menu Step 1, click the "Show Advanced Options" button, check the "Manual Discovery" checkbox and enter the printer's ip address, then click the "Next" button.
4. The printer is found and listed in the hp-setup menu Step 2, select the printer and click the "Next" button.
5. At the point hp-setup hangs forever (with occasional disk thrashing) and fails to complete setup.
Running hp-setup from the command line (sudo hp-setup) results in the same failure.
Running "hp-check -r" (results below) reveals a number of required packages are not installed. Three of the required packages are not in the Opensuse distribution: libusb, sane-devel, and libnetsnmp-devel. For giggles, the available missing packages were installed and hp-setup retried without success. Clearly hplip has package requirements that Opensuse does not provide.
So the question is simple, how to install this printer with hplip on Opensuse 15.2?
hp-check -r output:
hp-check[2976]: info: :
hp-check[2976]: info: :[01mHP Linux Imaging and Printing System (ver. 3.19.12)[0m
hp-check[2976]: info: :[01mDependency
hp-check[2976]: info: :
hp-check[2976]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[2976]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[2976]: info: :This is free software, and you are welcome to distribute it
hp-check[2976]: info: :under certain conditions. See COPYING file for more details.
hp-check[2976]: info: :
hp-check[2976]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[2976]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[2976]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[2976]: info: :are installed to successfully compile HPLIP.
hp-check[2976]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro
hp-check[2976]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
hp-check[2976]: info: :has the proper dependencies installed to successfully run.
hp-check[2976]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode
hp-check[2976]: info: :will check both of the above cases (both compile- and run-time dependencies).
hp-check[2976]: info: :
hp-check[2976]: info: :Check types:
hp-check[2976]: info: :a. EXTERNALDEP - External Dependencies
hp-check[2976]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[2976]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[2976]: info: :d. [All are run-time checks]
hp-check[2976]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[2976]: info: :
hp-check[2976]: info: :Status Types:
hp-check[2976]: info: : OK
hp-check[2976]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[2976]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[2976]: info: :
warning: [01m3-15.2 version is not supported. Using 3-15.1 versions dependencies to verify and install...[0m
hp-check[2976]: info: :
hp-check[2976]: info: :---------------
hp-check[2976]: info: :| SYSTEM INFO |
hp-check[2976]: info: :---------------
hp-check[2976]: info: :
hp-check[2976]: info: : Kernel: 5.3.18-
Host: orange
Proc: 5.3.18-
Distribution: 3 15.2
hp-check[2976]: info: : Bitness: 64 bit
hp-check[2976]: info: :
hp-check[2976]: info: :------
hp-check[2976]: info: :| HPLIP CONFIGURATION |
hp-check[2976]: info: :------
hp-check[2976]: info: :
hp-check[2976]: info: :HPLIP-Version: HPLIP 3.19.12
hp-check[2976]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro 15.2 version
hp-check[2976]: info: :
hp-check[2976]: info: :[01mCurrent contents of '/etc/hp/
hp-check[2976]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.19.12
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-install=no
cups-ppd-
internal-
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=no
class-driver=no
hp-check[2976]: info: :
hp-check[2976]: info: :[01mCurrent contents of '/var/lib/
hp-check[2976]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[2976]: info: :
hp-check[2976]: info: :[01mCurrent contents of '~/.hplip/
hp-check[2976]: info: :[installation]
date_time = 07/24/20 04:25:45
version = 3.19.12
hp-check[2976]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[2976]: info: :
hp-check[2976]: info: :------
hp-check[2976]: info: :| External Dependencies |
hp-check[2976]: info: :------
hp-check[2976]: info: :
hp-check[2976]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
hp-check[2976]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.52 OK -
hp-check[2976]: info: :[31;01m error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'[0m
hp-check[2976]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
hp-check[2976]: info: : dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
hp-check[2976]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.116 OK -
hp-check[2976]: info: : network network -wget OPTIONAL - 1.20.3 OK -
hp-check[2976]: info: :[31;01m error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'[0m
hp-check[2976]: info: :
hp-check[2976]: info: :------
hp-check[2976]: info: :| General Dependencies |
hp-check[2976]: info: :------
hp-check[2976]: info: :
hp-check[2976]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[2976]: info: :[31;01m error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 MISSING 'cups-devel needs to be installed'[0m
hp-check[2976]: info: :[31;01m error: cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 MISSING 'cups-image needs to be installed'[0m
hp-check[2976]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.26' OK -
hp-check[2976]: info: :[31;01m error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'[0m
hp-check[2976]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[2976]: info: :[31;01m error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'[0m
hp-check[2976]: info: :[31;01m error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 MISSING 'libnetsnmp-devel needs to be installed'[0m
hp-check[2976]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check[2976]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.10 OK -
hp-check[2976]: info: :[31;01m error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'[0m
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dexter Foster for more information if necessary.