hplip-3.20.5 installer fails on Ubuntu 20.04 LTS

Bug #1879353 reported by Mark Drone
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

HPLIP-Version: HPLIP 3.20.5
Kernel: 5.4.0-29-generic x86_64
Distro: Ubuntu 20.04 LTS (Focal Fossa)
Desktop: MATE 1.24.0
Printer: HP ENVY Photo 7100
Python Version: Python 3.8.2

Relevant output of hp-check -t :

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'python-pyqt5' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'python-dbus.mainloop.pyqt5' package is missing/incompatible
error: 'python-reportlab' package is missing/incompatible
error: 'python-notify' package is missing/incompatible

Total Errors: 4
Total Warnings: 1

I downloaded the *.deb packages above from older Ubuntu repositories and tried installing them with dpkg, but there were numerous dependencies that could not be satisfied. Most fo the incompatibilities appear to stem from the requirement of older versions of Python.

Will there be any effort to remedy these incompatibilities?

Revision history for this message
Tatu (ubutatu) wrote :

This is happening to me too. I'm not too sure what the installer script doesn't like about the version of 'gtk2-engines-pixbuf' here:
sudo apt list -i gtk2-engines-pixbuf
Listing... Done
gtk2-engines-pixbuf/focal,now 2.24.32-4ubuntu4 amd64 [installed]

Regarding the other errors about the missing 'python-*' dependencies, well, these are missing indeed on Focal Fossa. Quick check via https://packages.ubuntu.com shows such packages were last used on Eoan Ermine (Ubuntu 19.10). What we have on 20.04 are 'python3-pyqt5', 'python3-dbus.mainloop.pyqt5', 'python3-reportlab' and 'python3-notify2'.

Revision history for this message
Bjornar-si (bjornar-si) wrote :

I have tried the hplip-3.20.6 on my Ubunto 20.04 LTS today. Installation fails / stops on the same point as with hplip-3.20.5 :
(...)
hplip-install[15543]: info: :[01mDEPENDENCY AND CONFLICT RESOLUTION[0m
hplip-install[15543]: info: :[01m----------------------------------[0m
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
hplip-install[15543]: info: :Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
(...)

Installation log attached

Revision history for this message
Ritonglue (ritonglue) wrote :

There is a workaround. Use the installer in mode "custom" and don't install the "Graphical User Interface".

Revision history for this message
and003 (and03) wrote :

I am also having this problem, but it's with 3.20.11 as opposed to 3.20.5. I am using Ubuntu 20.04, and the printer I'm using is an HP Smart Tank Plus 651. I am attaching a document of my first attempt to install 3.20.11.

Revision history for this message
Chris York (1-0hris-x) wrote : Re: [Bug 1879353] Re: hplip-3.20.5 installer fails on Ubuntu 20.04 LTS

They have been trying for the last 6 months and have failed to find a fix across all flavours of Ubuntu.

On 5 December 2020 19:11:12 GMT, and003 <email address hidden> wrote:
>I am also having this problem, but it's with 3.20.11 as opposed to
>3.20.5. I am using Ubuntu 20.04, and the printer I'm using is an HP
>Smart Tank Plus 651. I am attaching a document of my first attempt to
>install 3.20.11.
>
>** Attachment added: "First HPLIP 3.20.11 installation attempt"
>https://bugs.launchpad.net/hplip/+bug/1879353/+attachment/5441293/+files/hplip_installation_attempt01.txt
>
>--
>You received this bug notification because you are subscribed to the
>bug
>report.
>https://bugs.launchpad.net/bugs/1879353
>
>Title:
> hplip-3.20.5 installer fails on Ubuntu 20.04 LTS
>
>Status in HPLIP:
> New
>
>Bug description:
> HPLIP-Version: HPLIP 3.20.5
> Kernel: 5.4.0-29-generic x86_64
> Distro: Ubuntu 20.04 LTS (Focal Fossa)
> Desktop: MATE 1.24.0
> Printer: HP ENVY Photo 7100
> Python Version: Python 3.8.2
>
> Relevant output of hp-check -t :
>
> warning: Printer is not HPLIP installed. Printers must use the hp: or
> hpfax: CUPS backend for HP-Devices.
>
> -----------
> | SUMMARY |
> -----------
>
> Missing Required Dependencies
> -----------------------------
> error: 'gtk2-engines-pixbuf' package is missing/incompatible
> error: 'python-pyqt5' package is missing/incompatible
>
> Missing Optional Dependencies
> -----------------------------
> error: 'python-dbus.mainloop.pyqt5' package is missing/incompatible
> error: 'python-reportlab' package is missing/incompatible
> error: 'python-notify' package is missing/incompatible
>
> Total Errors: 4
> Total Warnings: 1
>
> I downloaded the *.deb packages above from older Ubuntu repositories
> and tried installing them with dpkg, but there were numerous
> dependencies that could not be satisfied. Most fo the
> incompatibilities appear to stem from the requirement of older
> versions of Python.
>
> Will there be any effort to remedy these incompatibilities?
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/hplip/+bug/1879353/+subscriptions

Revision history for this message
matihost (matihost) wrote :
Revision history for this message
and003 (and03) wrote :

Has anyone had similar problems with the Fedora version of Linux?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.