Zorin OS not supported by HPLIP installer

Bug #1842308 reported by John Steeves
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Committed
Undecided
sivakumar

Bug Description

When attempting to run the HPLIP installer (the hplip-3.19.8.run file), I get the following error message:
zorin distro is not found in AUTH_TYPES

I've used the latest version of HPLIP from here: https://sourceforge.net/projects/hplip/files/hplip/3.19.8/hplip-3.19.8.run/download

Zorin OS is based on Ubuntu (Zorin OS 15 is based on Ubuntu 18.04) so internally, adding Zorin OS support to the HPLIP installer should be as simple as following the same steps as Ubuntu.
It's a pretty popular distribution (ranked 9th on Distrowatch) so I was surprised to see it wasn't supported in HPLIP.

I would kindly ask the development team to officially support Zorin OS in the HPLIP installer. It would make a lot of people's lives easier, especially when installing the drivers across an organization (like in my case).

description: updated
Changed in hplip:
status: New → Confirmed
Revision history for this message
Ruy (ruy-brandao) wrote :

Please fix this problem. It's super simple to fix.

To correct, I edited the source code "base/password.py" and added " 'zorin':'sudo', " to the "AUTH_TYPE" dictionary.

If installed, edit this file with sudo permission:
/usr/share/hplip/base/password.py

Like this:
sudo nano /usr/share/hplip/base/password.py

Revision history for this message
Artyom Zorin (azorin) wrote :

Hi, I'm the lead developer of Zorin OS.

After a number of years of hearing complaints from our users, we've created a patch (see attached) for the HPLIP 3.21.8 source code, which should add support for Zorin OS in the HPLIP automatic installer. We adapted this installer support code from comparable code for Linux Mint and Ubuntu (as Zorin OS is also based on Ubuntu) in the HPLIP source.

We would be grateful if the HPLIP team could review our patch and include it in the next version of HPLIP. This patch currently supports installing on Zorin OS 16 (our latest release), but we can add support for Zorin OS 15 as well, after this patch gets merged.

Revision history for this message
sivakumar (kavinsivak) wrote :

We will add it in the next HPLIP release.
Also please provide the patch for the Zorin OS 15.

Changed in hplip:
assignee: nobody → sivakumar (kavinsivak)
status: Confirmed → In Progress
Revision history for this message
Artyom Zorin (azorin) wrote :

Thanks sivakumar!

I've made updates and added Zorin OS 15 support to the newest patch attached to this post.

sivakumar (kavinsivak)
Changed in hplip:
status: In Progress → Fix Committed
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.