HPLIP, hp-doctor, hp-check should support Ubuntu 20.04 LTS with its package base
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Confirmed
|
High
|
Till Kamppeter |
Bug Description
Steps to reproduce:
1. Have Ubuntu 20.04 LTS installed
2. Install HPLIP with `sudo apt-get install hplip-gui`
3. Install all stuff to satisfy `hp-doctor` requirements by:
sudo apt-get build-dep hplip
sudo apt-get install build-essential libtool libtool-bin libcups2-dev cups-bsd cups-client avahi-utils gtk2-engines-pixbuf xsane python3-notify2
4. Run `hp-doctor` and `hp-check`
Expected results:
* `hp-doctor` ran successfully without errors
* `hp-check` ran successfully without errors
Actual results:
```
$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0
...
Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...
...
--------------
| PERMISSION |
--------------
Missing Required Dependencies
-------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/
error: 'gtk2-engines-
Missing Optional Dependencies
-------
error: 'python3-
...
$ hp-check
Saving output in log file: /home/mate/
HP Linux Imaging and Printing System (ver. 3.20.3)
Dependency/Version Check Utility ver. 15.1
...
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
error: 'libcups2' package is missing/
error: 'python3-pyqt4' package is missing/
error: 'gtk2-engines-
Missing Optional Dependencies
-------
error: 'python3-
Total Errors: 3
Total Warnings: 0
Done.
```
Note: many mentioned packages are already installed, Qt4 related packages are not installable:
```
$ sudo apt-get install libcups2 libcups2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcups2 is already the newest version (2.3.1-9ubuntu1.1).
libcups2-dev is already the newest version (2.3.1-9ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install gtk2-engines-pixbuf
Reading package lists... Done
Building dependency tree
Reading state information... Done
gtk2-engines-pixbuf is already the newest version (2.24.32-4ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install python3-pyqt4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pyqt4
$ sudo apt-get install python3-
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-
E: Couldn't find any package by glob 'python3-
E: Couldn't find any package by regex 'python3-
```
Please consider to fix HPLIP package and support 20.04 LTS package base before 20.04.1 release!
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: hplip 3.20.3+dfsg0-2
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Sat May 30 12:25:39 2020
InstallationDate: Installed on 2020-04-23 (36 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
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
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
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
Changed in hplip: | |
status: | New → In Progress |
Changed in hplip (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Till Kamppeter (till-kamppeter) |
Changed in hplip (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in hplip (Ubuntu): | |
status: | Fix Released → Confirmed |
shivani1708, why did the previous version of HPLIP not correctly work on Ubuntu 20.04 and what did exactly get changed in HPLIP so that 3.20.5 works? I would like to have a patch to fix the HPLIP version which comes with Ubuntu 20.04.