su/sudo not found...
Bug #380311 reported by
Dyna
This bug report is a duplicate of:
Bug #281880: Kubuntu: HPLIP unable to find su/sudo utility.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hplip-data
When using hp-toolbox in KDE doing something that requires admin privileges you will get a su/sudo not found "Unable to find an appropriate su/sudo to run hp-plug" this due to most likely a typo in ui_utils.py.
Following patch takes care of it
--- /tmp/ui_utils.py 2009-05-25 17:00:24.000000000 +0100
+++ ui4/ui_utils.py 2009-05-25 17:00:37.000000000 +0100
@@ -212,7 +212,7 @@
elif utils.which(
- su_sudo = 'kdesudo -- %s'
+ su_sudo_str = 'kdesudo -- %s'
elif utils.which(
Cheers Dyna
Changed in hplip (Ubuntu): | |
status: | New → In Progress |
To post a comment you must log in.
I have applied the fix to the Debian SVN repository and will soon upload the fixed package to Ubuntu.
Usually you should not hit this bug even with it being present, as HPLIP supports PolicyKit and it calls tools like kdesudo only if it does not succeed to use PolicyKit. Can you open a second bug report about HPLIP not using PolicyKit on your system? Thanks in advance.