error: The printer you are trying to setup requires a binary driver plug-in and it failed to install. Please check your internet connection and try again. Visit http://hplipopensource.com for more infomation.

Asked by peizhangxi

I use slackware13.37,
HP Linux Imaging and Printing System (ver. 3.11.3a)
Printer/Fax Setup Utility ver. 9.0
hp laserjetp1505 printer
when i was using hp-setup,i get"error: The printer you are trying to setup requires a binary driver plug-in and it failed to install. Please check your internet connection and try again. Visit http://hplipopensource.com for more infomation. "
how do i solve it?thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sarbeswar Meher (sarbeswar-meher) said :
#1

Hi,

  Please download the latest driver hplip-3.11.12. Please follow the steps mentioned in the link http://hplipopensource.com/hplip-web/install/manual/distros/slackware.html.

Revision history for this message
manolo (mac-man2005) said :
#2

Hi,
I'm experiencing the same issue on Linux Mint 14 with HPLIP 3.15.5

Actually it is not the first time I experience this kind of problem, with different printers, different Linux distributions, different versions of such distributions, differetn versions of HPLIP.

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#3

Hi Manolo,

If this Linux mint system running in Proxy environment, you may need to export the http_proxy, https_proxy and ftp_proxy variables.

Also needs to be updated in visudo file.
--> open visudo file.
 $ sudo visudo

--> Add the following line.
Defaults env_keep += “ftp_proxy http_proxy https_proxy”

--> try running hp-plugin now.
$ sudo hp-plugin

Thanks & Regards,
Amarnath

Revision history for this message
Jelle Foks (jellefoks) said :
#4

When I got this message with hplip 3.11.7 on Ubuntu 13.04,

it would prompt me for my password and then give the error message.

After a 'xhost +' in a terminal it would install fine. Probably the hp-toolbox tries to startup hp-plugin as root to install the plugin, and root doesn't have X display permissions by default...

Revision history for this message
manolo (mac-man2005) said :
#5

Hi Amarnath,
sorry for replying so late since then. I just made what you wrote in post #3 and I think something went bad. In fact, the result is:

superman@superman-Aspire-5730 ~ $ sudo hp-plugin
sudo: parse error in /etc/sudoers near line 12
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

and that is what I get when I execute each "sudo" command.
What is happening now?
What should I do considering that in order to modify the sudoers file I MUST run the command with "sudo" ???

Thanks.
Regards.

Revision history for this message
manolo (mac-man2005) said :
#6

Ok, as I workaround I'm running administrator commands after executing "su".

So, this is the previous content of the sudoers file before applying the changes you asked me to do.

  GNU nano 2.2.6 File: /etc/sudoers.tmp

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

Do you think your line:
Defaults env_keep += “ftp_proxy http_proxy https_proxy”

can generate some conflict with the previous line:
Defaults env_reset

???

Revision history for this message
manolo (mac-man2005) said :
#7

ANOTHER UPDATE: removing that line solves the above problem, I mean restoring the version of the file before the changes.

LAST UPDATE: running sudo hp-plugin works fine also not including that line.
sudo hp-plugin

HP Linux Imaging and Printing System (ver. 3.13.7)
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:
Receiving digital keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.13.7 Plugin Self Extracting Archive.............................

HP Linux Imaging and Printing System (ver. 3.13.7)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.13.7
Installed HPLIP version: 3.13.7
Number of files to install: 24

Done.
 Plug-in installation successful

Done.

Can you help with this problem?

Provide an answer of your own, or ask peizhangxi for more information if necessary.

To post a message you must log in.