Bug 426492

Summary: Print filter missing, not correct version of HPLIP
Product: [Frameworks and Libraries] print-manager Reporter: kiv
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kiv 2020-09-13 17:46:09 UTC
SUMMARY
Tried to install printing for HP Color LaserJet Pro MFP m477fdn from YAST.
In Leap 15.1 the needed CUPS filter was available from HPLIP and worked fine.
Now in Leap 15.2 search does not show HP Color LaserJet Pro MFP m477fdn but only HP Color LaserJet Pro MFP m477 for installation of printing.
This installs the needed drivers but can not use the duplex of the device.

then checked HPLIP application and found it not capable to see or setup the printer via Network. Also not capable to set the printer manually.

Then checked the HPLIP installation by Self Diagnse Utility and Healing Utility ver. 1.0

The result is as follows:

HP Linux Imaging and Printing System (ver. 3.19.12)
Self Diagnse Utility and Healing Utility ver. 1.0

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.19.12)
Self Diagnse Utility and Healing Utility ver. 1.0

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.

|Invalid MIT-MAGIC-COOKIE-     

Checking for Deprecated items....
error: This distro (i.e suse  15.2) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.19.12)
HPLIP upgrade latest version ver. 1.0

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.

error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.

Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....
warning: 3-15.2 version is not supported. Using 3-15.1 versions dependencies to verify and install...

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

 Kernel: 5.3.18-lp152.41-default #1 SMP Thu Sep 3 23:02:59 UTC 2020 (a4d139b) GNU/Linux
 Host: kdi-e560
 Proc: 5.3.18-lp152.41-default #1 SMP Thu Sep 3 23:02:59 UTC 2020 (a4d139b) GNU/Linux
 Distribution: 3 15.2
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.19.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro  15.2 version 

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

[hplip]
version=3.19.12

[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
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=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=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.19.12
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = "hp:/net/HP_LaserJet_4_Plus?ip=10.100.52.22"
printer_name = HP_LaserJet_4_Plus
working_dir = .

[installation]
date_time = 09/13/20 20:27:32
version = 3.19.12

[settings]
systray_visible = 0
systray_messages = 0

[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 = 

[upgrade]
notify_upgrade = false
last_upgraded_time = 1520954491
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.52            OK         -
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.2          MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.116           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'

------------------------
| General Dependencies |
------------------------

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.26'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.10          OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 python3-pyqt4-dbus   PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             4.12.3          OK         -
 python3-pyqt4        PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.3          OK         -
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.4           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.6.10          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               5.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.5.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.19.12         OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.19.12         OK         -

----------------------
| Scan Configuration |
----------------------

 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.19.12         OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.19.12         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

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

No devices found.

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

 
eS3005_bw
---------
Type: Unknown
Device URI: socket://10.100.52.23:9100
PPD: /etc/cups/ppd/eS3005_bw.ppd
warning: Failed to read /etc/cups/ppd/eS3005_bw.ppd ppd file
PPD Description: 
Printer status: printer eS3005_bw is idle.  enabled since  8.09.2020 (вт) 13:40:34 EEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

eS3005c
-------
Type: Unknown
Device URI: socket://10.100.52.23:9100
PPD: /etc/cups/ppd/eS3005c.ppd
warning: Failed to read /etc/cups/ppd/eS3005c.ppd ppd file
PPD Description: 
Printer status: printer eS3005c is idle.  enabled since 27.08.2020 (чт) 19:58:34 EEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

hp_mfp_color_laserjet_477dn_PCL6
--------------------------------
Type: Unknown
Device URI: socket://192.168.4.77:9100
PPD: /etc/cups/ppd/hp_mfp_color_laserjet_477dn_PCL6.ppd
warning: Failed to read /etc/cups/ppd/hp_mfp_color_laserjet_477dn_PCL6.ppd ppd file
PPD Description: 
Printer status: printer hp_mfp_color_laserjet_477dn_PCL6 is idle.  enabled since 13.09.2020 (нд) 20:25:52 EEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

hp_mfp_color_laserjet_m477dn
----------------------------
Type: Unknown
Device URI: socket://192.168.4.77:9100
PPD: /etc/cups/ppd/hp_mfp_color_laserjet_m477dn.ppd
warning: Failed to read /etc/cups/ppd/hp_mfp_color_laserjet_m477dn.ppd ppd file
PPD Description: 
Printer status: printer hp_mfp_color_laserjet_m477dn is idle.  enabled since 13.09.2020 (нд) 19:35:18 EEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

Missing Required Dependencies
-----------------------------
error: 'dbus-1-devel' package is missing/incompatible 
error: 'python-gobject2' package is missing/incompatible 
error: 'libjpeg-devel' package is missing/incompatible 
error: 'zlib-devel' package is missing/incompatible 
error: 'cups-devel' package is missing or 'cups' service is not running.
error: 'cupsddk' package is missing or 'cups' service is not running.
error: 'cups-devel' package is missing or 'cups' service is not running.
error: 'libusb-1_0-devel' package is missing/incompatible 
error: 'libusb-1_0-0' package is missing/incompatible 
error: 'sane-backends-devel' package is missing/incompatible 
error: 'net-snmp-devel' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libgphoto2-devel' package is missing/incompatible 
error: 'rpm-build' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'python3-notify2' package is missing/incompatible 


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-09-15 02:04:23 UTC
Not an issue with any KDE software; please report this to the openSUSE folks over here: https://bugzilla.opensuse.org