hplip-3.11.10.run will not accept root/administrator password

Asked by mobilediesel

While trying to install HPLIP Version 3.11.10, hplip-3.11.10.run asks for the root/administrator password but will not accept it. After entering the password for the third time the install script exits.
I'm running Debian 6.0.3 with all current updates.

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
Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Please confirm once whether root password is correct or not by running "su" command in terminal.

If password is correct, please follow below steps and provide the logs.

1) go to hplip directory.
e.g.
$ cd ~/Download/hplip-3.11.10

2) run install in debug mode
$ ./install.py -g &> install.log

Send us the install.log file.

Thanks & Regards,
Amarnath

Revision history for this message
mobilediesel (mobilediesel) said :
#2

Looks like the problem is the script is using su instead of sudo. How do I change that?

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

During HPLIP installation in debain, script expects root password by default.

In case if you would like to use sudo password. Please follow below steps (make sure user is added in sudoer's file).
1) rm hplip directory.
$ rm -rf ./hplip-3.11.10

2) run hplip run file
$ sh hplip-3.11.10.run

3) when user prompted for "Please choose the installation mode", quit from script.
$ q

4) go hplip directory

5) update "intaller/distros.dat" file as below
-->search for [debain]
-->few lines below find su_sudo variable
--> update su_sudo value from su to sudo
--> close this file

6) run install.py from hplip-3.11.10 directory

$ ./install.py -g

7) follow installation steps.

Please let us know if you need further information.

Thanks & Regards,
Amarnath

Revision history for this message
Cicero Miguel Schons (cicero-schons) said :
#4

Hello, I followed your tip but got no success, then edited the "installer / distros.dat" replaces sudo su as per your tip and in addition replaces all "su-c" referring to my distro (debian 6.0.5) also sudo. In sudoers have "username ALL = (ALL) ALL" and my username belongs to the group sudo. Here I used the file distros.dat: http://paste.org/53225. I changed the line pre_depend_cmd = sudo dpkg - configure-a, sudo apt-get install-f sudo apt-get update, sudo apt-get install - yes cups-bsd will respect the [debian], but before installing hplip hplipopensource.com used the command hp-check that the hplip installed starting own repositories of Debian Squeeze, so dependencies should already be resolved.

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

Hi Cicero Miguel Schons,

Looks like attached changes are fine. I didn't get exact problem that you facing after these changes. still password is not accepting or some other problem?

let me know current issue.

Thanks & Regards,
Amarnath

Revision history for this message
Cicero Miguel Schons (cicero-schons) said :
#6

The installer was asking for password every time, right or wrong password entering kept asking for it. So I made the changes and the installation continued normally. Now I have another problem that I install hp-plugin and after that, keeps asking to install the plugin ... I believe that these problems are a result of the various changes I made to the OS. Debian 6.0.5, 2.6.32-5-686, hplip-3.12.6.

I'll reinstall the system, as I said before I have done many changes that may be hindering the operation.

Sorry my English is powered by translator:)

Thanks,
Cicero Miguel Schons.

Can you help with this problem?

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

To post a message you must log in.