Page 1 of 1
Unable to install HP proprietary plugin

Posted:
Feb 9th, '14, 19:13
by evaldas
Hi everybody,
I have a problem connecting my HP LaserJet 1018 printer. System asks to install HP proprietary plugin, but it doesn't accept root pasword - evey time I enter it, message "invalid password" appears. May someone give me idea what is wrong with password writting? I know the password and can enter into mageia control center. Attaching the snapshot from the message
Re: Unable to install HP proprietary plugin

Posted:
Feb 9th, '14, 21:29
by doktor5000
You should be able to workaround this by logging in to a terminal as root, and then run hp-plugin
- Code: Select all
su -
hp-plugin
Does that work?
Re: Unable to install HP proprietary plugin

Posted:
Feb 11th, '14, 09:40
by evaldas
I did it! restarted computer, but...
Re: Unable to install HP proprietary plugin

Posted:
Feb 12th, '14, 01:00
by doktor5000
And if you run hp-plugin as normal user?
Re: Unable to install HP proprietary plugin

Posted:
Feb 15th, '14, 19:22
by evaldas
- Code: Select all
HP Linux Imaging and Printing System (ver. 3.13.9)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-13 Hewlett-Packard 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.
Checking for network connection...
Downloading plug-in from:
warning: mageia distro is not found in AUTH_TYPES
error: Failed in OS operations:Permission denied
error: ERROR: Unable to create the plug-in directory. Please check your permissions and try again.
Re: Unable to install HP proprietary plugin

Posted:
Feb 15th, '14, 21:15
by doktor5000
Please next time use code tags as explained in
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogvevaldas wrote:error: Failed in OS operations:Permission denied
error: ERROR: Unable to create the plug-in directory. Please check your permissions and try again.[/code]
Hmmm, that should not happen anymore, I've already applied a fix for similar issues in hplip.
Can you please show the output of
- Code: Select all
ls -al /var/lib/hp/
Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 17:23
by evaldas
doktor5000 wrote:Please next time use code tags as explained in
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogvevaldas wrote:error: Failed in OS operations:Permission denied
error: ERROR: Unable to create the plug-in directory. Please check your permissions and try again.[/code]
Hmmm, that should not happen anymore, I've already applied a fix for similar issues in hplip.
Can you please show the output of
- Code: Select all
ls -al /var/lib/hp/
Thank you for your attention. This was output:
- Code: Select all
drwxr-xr-x 2 root root 4096 Vas 2 23:01 ./
drwxr-xr-x 39 root root 4096 Vas 16 11:54 ../
-rw-r--r-- 1 root root 50 Vas 15 19:43 hplip.state
But what makes me nervous is that when I try to experiment using CUPS web interface it doesn't accept my root pasword

Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 17:31
by doktor5000
Please next time do not use fullquotes, but only use the Reply function. Greatly improves clarity and reading flow

And please next time use code tags as explained in
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogvCan you please change the permissions as root via
- Code: Select all
chmod -R 777 /var/lib/hp
and then please try again as normal user?
Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 22:08
by evaldas
I did chmod as root, restarted and tried hp-plugin as regular user and result was the same:
- Code: Select all
Checking for network connection...
Downloading plug-in from:
warning: mageia distro is not found in AUTH_TYPES
error: Failed in OS operations:Permission denied
error: ERROR: Unable to create the plug-in directory. Please check your permissions and try again.
Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 22:22
by doktor5000
That's weird. This was confirmed fixed via
https://bugs.mageia.org/show_bug.cgi?id=5395Can you please show the output as normal user of
- Code: Select all
ls -al /var/hp*
ls -al /var/lib/hp
LC_ALL=C hp-plugin -gi
Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 22:44
by evaldas
for ls -al /var/hp*:
- Code: Select all
ls: negaliu pasiekti /var/hp*: Toks failas ar aplankas neegzistuoja
which means such file or folder is not existing
for ls -al /var/lib/hp:
- Code: Select all
viso 12
drwxrwxrwx 2 root root 4096 Vas 2 23:01 ./
drwxr-xr-x 39 root root 4096 Vas 16 21:13 ../
-rwxrwxrwx 1 root root 50 Vas 16 21:19 hplip.state*
for LC_ALL=C hp-plugin -gi:
- Code: Select all
HP Linux Imaging and Printing System (ver. 3.13.9)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-13 Hewlett-Packard 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-plugin[11980]: debug: Locking: /home/namai/.hplip/hp-plugin.lock
error: You must be root to run this utility.
hp-plugin[11980]: debug: Unlocking: /home/namai/.hplip/hp-plugin.lock
If I run LC_ALL=C hp-plugin -gi as root:
- Code: Select all
hp-plugin[21758]: debug: Locking: /var/hp-plugin.lock
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.13.9 |
-----------------------------------------
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/prnt/plugins/lj.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/prnt/plugins/lj.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library status: 1
hp-plugin[21758]: debug: /usr/share/hplip/prnt/plugins/lj.so library file present.
hp-plugin[21758]: debug: /usr/share/hplip/prnt/plugins/lj.so library status: 1
hp-plugin[21758]: debug: Plugin status = 1
The driver plugin for HPLIP 3.13.9 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ?
Re: Unable to install HP proprietary plugin

Posted:
Feb 16th, '14, 23:05
by doktor5000
evaldas wrote:The driver plugin for HPLIP 3.13.9 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ?
So the plugin is already installed ...
Re: Unable to install HP proprietary plugin

Posted:
Feb 17th, '14, 16:58
by evaldas
Yes and it looks like pc is communicating with printer during boot as it does self test.
I overcomed this issue in Mageia 3 somehow by changing security setting but I can't remember exactly how
Re: Unable to install HP proprietary plugin

Posted:
Feb 17th, '14, 20:13
by doktor5000
You could try if it helps to add your user to lp and lpadmin groups.
Re: Unable to install HP proprietary plugin

Posted:
Feb 18th, '14, 12:07
by evaldas
maybe it would help, but I don't know where to find lp and lpadmin groups
Re: Unable to install HP proprietary plugin

Posted:
Feb 18th, '14, 21:00
by evaldas
We did it!
I added user to lp and lpadmin groups and then was able to login in CUPS web interface and changed driver into hpcups according to printer model
Re: Unable to install HP proprietary plugin

Posted:
Feb 18th, '14, 21:16
by isadora
Evaldas, please don't forget to mark the topic solved.
Do so, by editing the title/subject in the first message by pre-fixing it with [SOLVED].
Thanks ahead!!!

Re: Unable to install HP proprietary plugin

Posted:
Jun 22nd, '14, 21:53
by evaldas
so, printer is not working yet...
maybe someone could help?