urpmq --list-media active --list-url
rpm -qa|sort|grep -E "hplip|^python"
hp-check -r
The outputs are below - CUPS appears to be not installed/working - but actually is (I can print test page from within CUPS). Lot of dependency errors - and I was concerned by the messages that HPLIP auto install not supported for unknown distro 5 version. Mageia software Management shows hplip, hplip-gui, hplip-hpijs, hplip-hpijs-ppds and hplip-model-data (all version 3.15.11) to be installed.
Any idea what is going on?
- Code: Select all
bash-4.3$ su
Password:
[root@localhost colin]# hp-setup
HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 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 is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
[root@localhost colin]# hp-setup
HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
error: HPLIP cannot detect printers in your network. This may be due to existing firewall settings blocking the required ports.
When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
http://hplipopensource.com/node/374
Searching... (bus=usb, search=(None), desc=0)
Done.
[root@localhost colin]#
[root@localhost colin]# hp-setup
HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 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.
Searching... (bus=usb, search=(None), desc=0)
Done.
[root@localhost colin]# hplip-gui
bash: hplip-gui: command not found
[root@localhost colin]# hp-setup
HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 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.
Searching... (bus=usb, search=(None), desc=0)
Searching... (bus=usb, search=(None), desc=0)
Exiting the setup...
Done.
[root@localhost colin]# urpmq --list-media active --list-url
Live Core /var/local/mga_rpms/core
Live Nonfree /var/local/mga_rpms/nonfree
Core Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/core/release
Core Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/core/updates
Core Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/core/backports
Nonfree Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/nonfree/release
Nonfree Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/nonfree/updates
Nonfree Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/nonfree/backports
Tainted Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/tainted/release
Tainted Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/tainted/updates
Tainted Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/x86_64/media/tainted/backports
Core 32bit Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/core/release
Core 32bit Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/core/updates
Core 32bit Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/core/backports
Nonfree 32bit Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/nonfree/release
Nonfree 32bit Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/nonfree/updates
Nonfree 32bit Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/nonfree/backports
Tainted 32bit Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/tainted/updates
Tainted 32bit Backports http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/5/i586/media/tainted/backports
[root@localhost colin]# rpm -qa|sort|grep -E "hplip|^python"
hplip-3.15.11-1.mga5
hplip-gui-3.15.11-1.mga5
hplip-hpijs-3.15.11-1.mga5
hplip-hpijs-ppds-3.15.11-1.mga5
hplip-model-data-3.15.11-1.mga5
python-2.7.9-2.4.mga5
python3-3.4.3-1.5.mga5
python3-cairo-1.10.0-12.mga5
python3-chardet-2.2.1-4.mga5
python3-cups-1.9.68-3.mga5
python3-curl-7.19.5-4.1.mga5
python3-dbus-1.2.0-12.mga5
python3-gobject3-3.14.0-2.mga5
python3-pip-6.1.1-2.mga5
python3-pkg-resources-3.6-7.mga5
python3-qt4-4.11.3-1.mga5
python3-qt4-core-4.11.3-1.mga5
python3-qt4-dbus-4.11.3-1.mga5
python3-qt4-declarative-4.11.3-1.mga5
python3-qt4-designer-4.11.3-1.mga5
python3-qt4-gui-4.11.3-1.mga5
python3-qt4-multimedia-4.11.3-1.mga5
python3-qt4-network-4.11.3-1.mga5
python3-qt4-opengl-4.11.3-1.mga5
python3-qt4-script-4.11.3-1.mga5
python3-qt4-sql-4.11.3-1.mga5
python3-qt4-svg-4.11.3-1.mga5
python3-qt4-test-4.11.3-1.mga5
python3-qt4-webkit-4.11.3-1.mga5
python3-qt4-xml-4.11.3-1.mga5
python3-qt4-xmlpatterns-4.11.3-1.mga5
python3-requests-2.3.0-5.mga5
python3-setuptools-3.6-7.mga5
python3-sip-4.16.9-1.mga5
python3-six-1.7.3-4.mga5
python3-urllib3-1.9-5.mga5
python-cairo-1.10.0-12.mga5
python-cffi-1.1.2-1.mga5
python-cryptography-1.0.2-1.1.mga5
python-dbus-1.2.0-12.mga5
python-decorator-3.4.0-9.mga5
python-enum34-1.0.4-1.mga5
python-exiv2-0.3.2-5.mga5
python-farstream-0.1.2-9.mga5
python-gi-3.14.0-2.mga5
python-gi-cairo-3.14.0-2.mga5
python-gobject-2.28.6-17.mga5
python-idna-2.0-1.mga5
python-ipaddress-1.0.15-1.mga5
python-javapackages-4.1.0-15.1.mga5
python-kde4-4.14.3-1.mga5
python-libproxy-0.4.11-10.mga5
python-lxml-3.3.6-4.mga5
python-notify-0.1.1-15.mga5
python-numpy-1.8.2-4.mga5
python-OpenSSL-0.14-1.mga5
python-papyon-0.5.6-9.mga5
python-pillow-2.6.2-2.6.mga5
python-pkg-resources-3.6-7.mga5
python-ply-3.4-9.mga5
python-pyasn1-0.1.8-1.mga5
python-pycparser-2.10-7.mga5
python-pycrypto-2.6.1-6.mga5
python-pypdf-1.13-9.mga5
python-pypoppler-0.12.1-11.mga5
python-pyxb-1.2.3-4.mga5
python-pyxdg-0.25-8.mga5
python-qt4-4.11.3-1.mga5
python-qt4-core-4.11.3-1.mga5
python-qt4-dbus-4.11.3-1.mga5
python-qt4-declarative-4.11.3-1.mga5
python-qt4-designer-4.11.3-1.mga5
python-qt4-gui-4.11.3-1.mga5
python-qt4-multimedia-4.11.3-1.mga5
python-qt4-network-4.11.3-1.mga5
python-qt4-opengl-4.11.3-1.mga5
python-qt4-script-4.11.3-1.mga5
python-qt4-sql-4.11.3-1.mga5
python-qt4-svg-4.11.3-1.mga5
python-qt4-test-4.11.3-1.mga5
python-qt4-webkit-4.11.3-1.mga5
python-qt4-xml-4.11.3-1.mga5
python-qt4-xmlpatterns-4.11.3-1.mga5
python-reportlab-3.1.8-5.mga5
python-rpm-4.12.0.2-1.7.mga5
python-selinux-2.3-4.mga5
python-setuptools-3.6-7.mga5
python-simplejson-3.6.3-4.mga5
python-sip-4.16.9-1.mga5
python-six-1.7.3-4.mga5
python-slip-0.4.0-7.mga5
python-slip-dbus-0.4.0-7.mga5
python-telepathy-0.15.19-7.mga5
python-webkitgtk-1.1.8-9.mga5
[root@localhost colin]# hp-check -r
Saving output in log file: /home/colin/hp-check.log
HP Linux Imaging and Printing System (ver. 3.15.11)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 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: 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).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
warning: mandrake distro is not found in AUTH_TYPES
warning: unknown-5 version is not supported. Using unknown-0 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.4.36-desktop-2.mga5 #1 SMP Tue Dec 6 16:56:06 UTC 2016 GNU/Linux
Host: localhost.localdomain
Proc: 4.4.36-desktop-2.mga5 #1 SMP Tue Dec 6 16:56:06 UTC 2016 GNU/Linux
Distribution: unknown 5
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.15.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro 5 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.11
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.11
html=/usr/share/doc/hplip-3.15.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
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=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=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=yes
internal-tag=3.15.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
Current contents of '/var/lib/hp/hplip.state' file:
Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.14 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.113 OK -
network network -wget OPTIONAL - 1.15 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
error: dbus DBus - Message bus system REQUIRED - 1.8.20 MISSING 'DBUS may not be installed or not running'
-------------------------
| General Dependencies |
-------------------------
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.1.8 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.3 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.9 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.3 OK -
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
libpthread libpthread - POSIX threads library REQUIRED - 2.20 OK -
error: python-devel Python devel - Python development files REQUIRED 2.2 2.7.9 MISSING 'python-devel needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
---------------
| COMPILEDEP |
---------------
libtool libtool - Library building support services REQUIRED - 2.4.2 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.9.2 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.0 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.15.11 OK -
hpmudext IO-Extension REQUIRED - 3.15.11 OK -
-----------------------
| Scan Configuration |
-----------------------
scanext Scan-SANE-Extension REQUIRED - 3.15.11 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.11 OK 'hpaio found in /etc/sane.d/dll.conf'
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/Photosmart_C4200_series?serial=CN864RD1CR04VP' is a Hewlett-Packard Photosmart_C4200_series all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
----------------------------------------------------- ---------------------------------
hp:/usb/Photosmart_D7100_series?serial=MY6A3F93NF04SF HP Photosmart D7100 series
hp:/usb/Photosmart_C4200_series?serial=CN864RD1CR04VP HP Photosmart C4200 series
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP-Photosmart-C4200-series
--------------------------
Type: Printer
Device URI: hp:/usb/Photosmart_C4200_series?serial=CN864RD1CR04VP
PPD: /etc/cups/ppd/HP-Photosmart-C4200-series.ppd
PPD Description: HP Photosmart c4200 Series, hpcups 3.15.11
Printer ready to printr HP-Photosmart-C4200-series is idle. enabled since Thu 22 Dec 2016 10:40:58 GMT
Communication status: Good
HP-Photosmart-D7100-series
--------------------------
Type: Printer
Device URI: hp:/usb/Photosmart_D7100_series?serial=MY6A3F93NF04SF
PPD: /etc/cups/ppd/HP-Photosmart-D7100-series.ppd
PPD Description: HP Photosmart d7100 Series, hpcups 3.15.11
Printer status: printer HP-Photosmart-D7100-series is idle. enabled since Mon 12 Dec 2016 16:50:51 GMT
Communication status: Good
Photosmart_C4200
----------------
Type: Printer
Device URI: hp:/usb/Photosmart_C4200_series?serial=CN864RD1CR04VP
PPD: /etc/cups/ppd/Photosmart_C4200.ppd
PPD Description: HP Photosmart c4200 Series, hpcups 3.15.11
Printer status: printer Photosmart_C4200 is idle. enabled since Thu 22 Dec 2016 11:02:21 GMT
Communication status: Good
Photosmart_D7100
----------------
Type: Printer
Device URI: hp:/usb/Photosmart_D7100_series?serial=MY6A3F93NF04SF
PPD: /etc/cups/ppd/Photosmart_D7100.ppd
PPD Description: HP Photosmart d7100 Series, hpcups 3.15.11
Printer status: printer Photosmart_D7100 is idle. enabled since Thu 22 Dec 2016 11:01:44 GMT
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP-Photosmart-D7100-series Required - - OK Node:'/dev/bus/usb/002/003' Perm:' root lp rw- rw- rw- rw- r--'
USB HP-Photosmart-C4200-series Required - - OK Node:'/dev/bus/usb/001/005' Perm:' root lp rw- rw- rw- rw- r--'
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
None
Missing Optional Dependencies
-----------------------------
None
Total Errors: 10
Total Warnings: 1
Done.