Unable to install HP proprietary plugin

Unable to install HP proprietary plugin

Postby evaldas » Feb 9th, '14, 19:13

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
Attachments
Nuotrauka.png
Nuotrauka.png (84.58 KiB) Viewed 7263 times
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 9th, '14, 21:29

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 11th, '14, 09:40

I did it! restarted computer, but...
Attachments
Nuotrauka-4.png
Nuotrauka-4.png (21.69 KiB) Viewed 7241 times
Nuotrauka-3.png
Nuotrauka-3.png (15.35 KiB) Viewed 7241 times
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 12th, '14, 01:00

And if you run hp-plugin as normal user?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 15th, '14, 19:22

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.
Last edited by doktor5000 on Feb 15th, '14, 21:13, edited 1 time in total.
Reason: added code tags, to improve on clarity
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 15th, '14, 21:15

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

evaldas 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/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 16th, '14, 17:23

doktor5000 wrote:Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

evaldas 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 :evil:
Last edited by doktor5000 on Feb 16th, '14, 17:27, edited 1 time in total.
Reason: removed fullquote, added code tags, to improve on clarity
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 16th, '14, 17:31

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.ogv

Can 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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 16th, '14, 22:08

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.
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 16th, '14, 22:22

That's weird. This was confirmed fixed via https://bugs.mageia.org/show_bug.cgi?id=5395
Can 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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 16th, '14, 22:44

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) ?
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 16th, '14, 23:05

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 ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 17th, '14, 16:58

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby doktor5000 » Feb 17th, '14, 20:13

You could try if it helps to add your user to lp and lpadmin groups.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 18th, '14, 12:07

maybe it would help, but I don't know where to find lp and lpadmin groups
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby evaldas » Feb 18th, '14, 21:00

We did it! :D
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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Unable to install HP proprietary plugin

Postby isadora » Feb 18th, '14, 21:16

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!!! ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Unable to install HP proprietary plugin

Postby evaldas » Jun 22nd, '14, 21:53

so, printer is not working yet...
maybe someone could help?
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron