hp-check on Ubuntu 16.04 LTS shows many errors and warnings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Install Ubuntu 16.04 LTS
2. Install HPLIP packages with `sudo apt-get install hplip hplip-gui`
3. Install HPLIP Plugin with `hp-plugin`
4. Run `hp-check --run`
Expected results:
* `hp-check --run` does not report errors and warnings (as it was installed from APT)
Actual results:
* `hp-check --run` reports errors and warnings (full output is in attachment)
The most interesting parts of error log:
$ cat ~/hp-check.log | grep -Ei "error|warning"
hp-check[13781]: info: :[31;01m error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: dbus DBus - Message bus system REQUIRED - 1.10.6 MISSING 'DBUS may not be installed or not running'[0m
hp-check[13781]: info: :[31;01m error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'[0m
hp-check[13781]: info: :[31;01m error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 MISSING 'gcc needs to be installed'[0m
hp-check[13781]: info: :[31;01m error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'[0m
error: 'libdbus-1-dev' package is missing/
error: 'libcups2' package is missing/
error: 'libusb-1.0.0-dev' package is missing/
error: 'python3-dev' package is missing/
error: 'libcups2-dev' package is missing/
error: 'cups-bsd' package is missing/
error: 'cups-client' package is missing/
error: 'libsnmp-dev' package is missing/
error: 'snmp-mibs-
error: 'libsane-dev' package is missing/
error: 'libjpeg-dev' package is missing/
error: 'openssl' package is missing/
error: 'libcupsimage2-dev' package is missing/
error: 'build-essential' package is missing/
error: 'libtool' package is missing/
error: 'libtool-bin' package is missing/
error: 'gtk2-engines-
error: 'xsane' package is missing/
hp-check[13781]: info: :Total Errors: 13
hp-check[13781]: info: :Total Warnings: 0
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: hplip 3.16.3+repack0-1
ProcVersionSign
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.19
Architecture: amd64
CupsErrorLog:
CurrentDesktop: MATE
Date: Sun Jul 21 13:11:31 2019
InstallationDate: Installed on 2018-08-07 (347 days ago)
InstallationMedia: Ubuntu-MATE 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
Papersize: a4
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: hplip
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekG
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.
dmi.sys.vendor: innotek GmbH
The number of errors may be reduced to zero by:
1. Enabling Source Code repositories
2. Installing HPLIP build-dependencies with `sudo apt-get build-dep hplip`
3. Installing packages listed in the `hp-check` output with `sudo apt-get install libtool libtool-bin gtk2-engines-pixbuf xsane`