hp-plugin doesn't recognize KDE Neon as a Ubuntu derivate

Bug #1828680 reported by Malte S. Stretz
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned

Bug Description

KDE Neon is a Ubuntu derivate and thus requires sudo instead of su to become root. Since it doesn't report itself as such ("warning: neon distro is not found in AUTH_TYPES") hp-plugin chooses the wrong command.

lsb_release -a says

No LSB modules are available.
Distributor ID: neon
Description: KDE neon User Edition 5.15
Release: 18.04
Codename: bionic

Revision history for this message
Malte S. Stretz (mss) wrote :

Forgot to add that this is

HP Linux Imaging and Printing System (ver. 3.18.7)
Plugin Download and Install Utility ver. 2.1

Revision history for this message
brian_p (claremont102) wrote :

Ok. Got the gist of this. Are you just reporting an issue which you see as a bug or are you seeking help to print?

--
Brian.

Revision history for this message
Santhosh Manchikanti (santhosh2357651) wrote :

Hi Malte,

Please download the "hplip-3.18.7-plugin.run " plugin from below location and run "sh hplip-3.18.7-plugin.run" in the terminal to install the plugin

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

Regards,
Santhosh

Changed in hplip:
status: New → In Progress
Revision history for this message
cyborg (florian-cyborgsociety) wrote :

I can confirm this BUG

$ lsb_release -a
No LSB modules are available.
Distributor ID: Neon
Description: KDE neon User Edition 5.20
Release: 20.04
Codename: focal

(For me it worked with kde-neon and ubuntu 18.04 as base system.)

Revision history for this message
cyborg (florian-cyborgsociety) wrote :

Package: hplip
Version: 3.20.3+dfsg0-2

Revision history for this message
cyborg (florian-cyborgsociety) wrote :

A fix should be easy:

Add following line to `AUTH_TYPES` in `/usr/share/hplip/base/password.py:58`:

`'neon': 'sudo',`

Changed in hplip:
status: In Progress → Confirmed
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.