LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem instaling hplips (http://www.linuxquestions.org/questions/linux-software-2/problem-instaling-hplips-947741/)

coamucho 05-31-2012 05:52 AM

Problem instaling hplips
 
Hello everyone. I have a problem with instaling HPLIP-3.12.4. When you come to the part when you should type the password, it will not accept
it. Here is screen ouptup. Thx :newbie:


aleksandar@debian:~$ cd Desctop
bash: cd: Desctop: No such file or directory
aleksandar@debian:~$ cd Desktop
aleksandar@debian:~/Desktop$ sh hplips-3.12.4.run
sh: Can't open hplips-3.12.4.run
aleksandar@debian:~/Desktop$ sh hplip-3.12.4.run
Creating directory hplip-3.12.4
Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.4 Self Extracting Archive............................................................................................. .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ............................

HP Linux Imaging and Printing System (ver. 3.12.4)
HPLIP Installer ver. 5.1

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

Installer log saved in: hplip-install_Thu-31-May-2012_12:47:30.log

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


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) :

Initializing. Please wait...


INTRODUCTION
------------
This installer will install HPLIP version 3.12.4 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 6.0.5.

Is "Debian 6.0.5" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password incorrect. 2 attempt(s) left.
Please enter the root/superuser password:
Password incorrect. 1 attempt(s) left.
Please enter the root/superuser password:
Password incorrect. 0 attempt(s) left.
error: 3 incorrect attempts. (or) Insufficient permissions(i.e. try with sudo user).
Exiting.
aleksandar@debian:~/Desktop$ The screen output is:
tbash: The: command not found
aleksandar@debian:~/Desktop$ robert@robert-laptop:/drivers/printers
bash: robert@robert-laptop:/drivers/printers: No such file or directory
aleksandar@debian:~/Desktop$ -->sh hplip-2.8.5.run
bash: --: command not found
aleksandar@debian:~/Desktop$ Creating directory hplip-2.8.5
bash: Creating: command not found
aleksandar@debian:~/Desktop$ Verifying archive integrity... All good.
bash: Verifying: command not found
aleksandar@debian:~/Desktop$ Uncompressing HPLIP 2.8.5 Self Extracting Archive............................................................................................. .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .........................................
bash: Uncompressing: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ HP Linux Imaging and Printing System (ver. 2.8.5)
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$ HPLIP Installer ver. 3.3
bash: HPLIP: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
bash: syntax error near unexpected token `c'
aleksandar@debian:~/Desktop$ This software comes with ABSOLUTELY NO WARRANTY.
bash: This: command not found
aleksandar@debian:~/Desktop$ This is free software, and you are welcome to distribute it
bash: This: command not found
aleksandar@debian:~/Desktop$ under certain conditions. See COPYING file for more details.
bash: under: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ Installer log saved in: hplip-install_Thu-19-Jun-2008_08:03:06.log
bash: Installer: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ |
bash: syntax error near unexpected token `|'
aleksandar@debian:~/Desktop$ note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
bash: enter: No such file or directory
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ INSTALLATION MODE
bash: INSTALLATION: command not found
aleksandar@debian:~/Desktop$ -----------------
bash: -----------------: command not found
aleksandar@debian:~/Desktop$ Automatic mode will install the full HPLIP solution with the most common options.
bash: Automatic: command not found
aleksandar@debian:~/Desktop$ Custom mode allows you to chose installation options to fit specific requirements.
bash: Custom: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ Please choose the installation mode (a=automatic*, c=custom, q=quit) : a
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ Initializing. Please wait...
bash: Initializing.: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ INTRODUCTION
bash: INTRODUCTION: command not found
aleksandar@debian:~/Desktop$ ------------
bash: ------------: command not found
aleksandar@debian:~/Desktop$ This installer will install HPLIP version 2.8.5 on your computer.
bash: This: command not found
aleksandar@debian:~/Desktop$ Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ DISTRO/OS CONFIRMATION
bash: DISTRO/OS: No such file or directory
aleksandar@debian:~/Desktop$ ----------------------
bash: ----------------------: command not found
aleksandar@debian:~/Desktop$ Distro appears to be Ubuntu 8.04.
bash: Distro: command not found
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ Is "Ubuntu 8.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ SELECT HPLIP OPTIONS
bash: SELECT: command not found
aleksandar@debian:~/Desktop$ --------------------
bash: --------------------: command not found
aleksandar@debian:~/Desktop$ Would you like to enable support for parallel (LPT:) connected printers? (y=yes, n=no*, q=quit) ? n
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$
aleksandar@debian:~/Desktop$ ENTER ROOT/SUPERUSER PASSWORD
bash: ENTER: command not found
aleksandar@debian:~/Desktop$ -----------------------------
bash: -----------------------------: command not found
aleksandar@debian:~/Desktop$ Please enter the root/superuser password:
bash: Please: command not found
aleksandar@debian:~/Desktop$ Password incorrect. 2 attempt(s) left.
bash: syntax error near unexpected token `('
aleksandar@debian:~/Desktop$ Please enter the root/superuser password:
bash: Please: command not found
aleksandar@debian:~/Desktop$ Password incorrect. 1 att

knudfl 05-31-2012 04:52 PM

Welcome to LQ.

You are right. A password is not accepted. May be an error in the installer.
( 'sh hplip-3.12.4.run' : Better : 'bash hplip-3.12.4.run', as 'sh' is a link to 'dash'.
Or : chmod + x hplip-3.12.4.run && ./hplip-3.12.4.run , but no luck with either.)

The Debian way : Build the hplip packages .deb, version 3.12.4 :
Assume Debian Squeeze ...
1) Please add these lines to /etc/apt/sources.list :
deb-src http://ftp.fi.debian.org/debian/ sid main contrib non-free
deb http://backports.debian.org/debian-backports/ squeeze-backports main

# apt-get update
# apt-get install fakeroot debhelper python-all-dev
Or : # dpkg -i debhelper_9.20120419~bpo60+1_all.deb
... if version 9.* isn't installed with # apt-get install debhelper ( I got version 8* ).
http://backports.debian.org/debian-b...po60+1_all.deb
2)
# apt-get build-dep pyppd
# apt-get build-dep hplip && exit
3)
$ cd <new-folder-1>/
$ apt-get -b source pyppd=0.4.9-6 : 'pyppd_0.4.9-6_all.deb' is created.
# dpkg -i pyppd_0.4.9-6_all.deb && exit
4)
$ cd <new-folder-2>/
$ apt-get -b source hplip=3.12.4-1
.. And all the hplip packages are created (64bits example): hplip_3.12.4-1_amd64.deb
printer-driver-hpijs_3.12.4-1_amd64.deb printer-driver-hpcups_3.12.4-1_amd64.deb
libhpmud0_3.12.4-1_amd64.deb libhpmud-dev_3.12.4-1_amd64.deb
libsane-hpaio_3.12.4-1_amd64.deb
(+ hplip-dbg_3.12.4-1_amd64.deb = The debug package.)

.

craigevil 05-31-2012 05:16 PM

Excellent howto. Doing things the proper Debian way is always the best practice.

Howto get newer package versions for Debian Stable - LinuxQuestions.org - https://www.linuxquestions.org/quest...-stable-34611/

coamucho 06-01-2012 04:02 AM

Thx people, whit your help and help of my friend i solved problem. :)


All times are GMT -5. The time now is 06:12 PM.