[arch-general] Can't install HP Printer driver (hplip)

Junayeed Ahnaf nirjhor at outlook.com
Wed Dec 6 06:45:08 UTC 2017

Hello ,

I can't install HP Printing driver using hplip , this is the error I am getting :

17 ◯ : sudo -R hplip-plugin                                                                                                                                                                                     ⏎
sudo: invalid option -- 'R'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] file ...

nirjhor-arch 福 ~
18 ◯ : pacaur -R hplip-plugin                                                                                                                                                                                   ⏎
error: target not found: hplip-plugin

nirjhor-arch 福 ~
19 ◯ : sudo hp-setup -i                                                                                                                                                                                         ⏎

HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


 Num       Connection  Description
 --------  ----------  ----------------------------------------------------------
 0*        usb         Universal Serial Bus (USB)
 1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
 2         par         Parallel Port (LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ?

Using connection type: usb

Setting up device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q8CAH6FPR1a

Traceback (most recent call last):
 File "/usr/bin/hp-setup", line 409, in <module>
   pluginObj = pluginhandler.PluginHandle()
 File "/usr/share/hplip/installer/pluginhandler.py", line 61, in __init__
 File "/usr/share/hplip/installer/pluginhandler.py", line 162, in __readPluginStatus
   copies = self.__getPluginFilesList( home )
 File "/usr/share/hplip/installer/pluginhandler.py", line 73, in __getPluginFilesList
   products = plugin_spec.keys("products")
 File "/usr/share/hplip/base/g.py", line 117, in options
   return self.conf.options(section)
 File "/usr/lib/python3.6/configparser.py", line 675, in options
   raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'products'

I'm sure I did this previously, but now it's failing. What should I do?

Sent from Mailspring<https://link.getmailspring.com/link/local-026a71c5-1b63@nirjhor-arch/0?redirect=https%3A%2F%2Fgetmailspring.com%3Fref%3Dclient&recipient=arch-general%40archlinux.org>, the best free email app for work

More information about the arch-general mailing list