Missing dependency for HP device manager

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Missing dependency for HP device manager

Postby gameslayer » Mon May 24, 2021 12:44 pm

Hey everyone I am sorry if this post is in the incorrect place but I wanted to report/suggest a fix for the hp-lib package aka HP device manager gui on arch arm64 which is missing the dependency python-pyqt4 which is required for it to work. I noticed this issue and wanted to report it and help out :D

Here is the log of HP device manager which by default does not install the needed dependency.

$this->bbcode_second_pass_code('', '
[corey@corey-pi4 ~]$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.21.2)
HP Device Manager ver. 15.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: No module named 'PyQt5'
')

After installing python-pyqt5 the issue is fixed.

$this->bbcode_second_pass_code('', '
[corey@corey-pi4 ~]$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.21.2)
HP Device Manager ver. 15.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.21.2)
System Tray Status Service ver. 2.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.21.2)
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 Archlinux for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman.

Done.
')

I believe by not including the package as a necessary dependency it will break the user experience and cause confusions on why it is not working.
gameslayer
 
Posts: 4
Joined: Mon May 24, 2021 12:29 pm

Re: Missing dependency for HP device manager

Postby robg » Mon May 24, 2021 5:13 pm

Note that ArchLinux ARM tries to mirror the upstream package structure:

https://archlinuxarm.org/packages/aarch64/hplip
https://archlinux.org/packages/extra/x86_64/hplip/

There, python-pyqt5 is mentioned as an optional dependency - which makes sense, as not everyone who installs the driver package is interested in the accompanying default GUI tools. Thus, unless you can convince ArchLinux upstream to change this, don't expect any change in ArchLinux ARM.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 9 guests