This installer cannot install 'libusb' for your distro/OS and/or version

Asked by Nick Stamatakos

I am using red hat EL 5.6 Was not one of your choices...

./hplip-3.11.5.run

Result:
-------------------------------------
warning: There are 2 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: This installer cannot install 'libusb' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

What do I do next?
Thanks
Nick

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
Nick Stamatakos (nick-stamatakos) said :
#1

Also tried:

I followed the instructions at:
http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.html

cd ~/Desktop/
su -c "rpm -ev --nodeps libsane-hpaio"
su -c "rpm -ev hplip-gui"
su -c "rpm -ev hplip"
su -c "rpm -ev hpijs"
su -c "yum install PyQt"
su -c "yum install xsane"
su -c "rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm"

Here is the result:
[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
error: Failed dependencies:
hplip = 1.6.7-6.el5_6.1 is needed by (installed) libsane-hpaio-1.6.7-6.el5_6.1.x86_64
hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64

Revision history for this message
delance (olivier-delance) said :
#2

Try:
   sudo apt-get install libusb
and report result.
Which version of Ubuntu are you using ?

Revision history for this message
goutam kodu (goutam-hplip) said :
#3

Hi,

Please run the below commands and paste the output here.

[root@ren tmp17]#rpm -ev --nodeps libsane-hpaio-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -ev hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev hplip-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm

Thanks & Regards,
Goutam Kodu

Revision history for this message
Nick Stamatakos (nick-stamatakos) said :
#4

[root@ren ~]# rpm -ev nodeps libsane-hpaio-1.6.7-6.el5_6.1.x86_64
error: package nodeps is not installed

[root@ren ~]# rpm -ev hpijs-1.6.7-6.el5_6.1.x86_64
error: Failed dependencies:
        hpijs = 1:1.6.7-6.el5_6.1 is needed by (installed) hplip-1.6.7-6.el5_6.1.x86_64

[root@ren ~]# rpm -ev hplip-1.6.7-6.el5_6.1.x86_64
error: Failed dependencies:
        libhpip.so.0()(64bit) is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
        libhpip.so.0()(64bit) is needed by (installed) libsane-hpaio-1.6.7-6.el5_6.1.x86_64
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) libsane-hpaio-1.6.7-6.el5_6.1.x86_64

[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
error: Failed dependencies:
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) libsane-hpaio-1.6.7-6.el5_6.1.x86_64

Nick Stamatakos
Chief, Earth Orientation Parameters Division
US Naval Observatory, NW
Washington, DC 20392
(w) 202-762-1518

________________________________________
From: <email address hidden> [<email address hidden>] on behalf of goutamkk [<email address hidden>]
Sent: Tuesday, May 31, 2011 12:50 AM
To: Stamatakos, Nick
Subject: Re: [Question #159305]: This installer cannot install 'libusb' for your distro/OS and/or version

Your question #159305 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/159305

    Status: Open => Answered

goutamkk proposed the following answer:
Hi,

Please run the below commands and paste the output here.

[root@ren tmp17]#rpm -ev --nodeps libsane-hpaio-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -ev hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev hplip-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm

Thanks & Regards,
Goutam Kodu

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/159305/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/159305

You received this question notification because you asked the question.

Revision history for this message
Nick Stamatakos (nick-stamatakos) said :
#5

Hello Goutam Kodu--

[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
error: Failed dependencies:
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) libsane-hpaio-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev --nodeps libsane-hpaio-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev hpijs-1.6.7-6.el5_6.1.x86_64
error: Failed dependencies:
        hpijs = 1:1.6.7-6.el5_6.1 is needed by (installed) hplip-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev hplip-1.6.7-6.el5_6.1.x86_64
error: Failed dependencies:
        libhpip.so.0()(64bit) is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
error: Failed dependencies:
        hplip = 1.6.7-6.el5_6.1 is needed by (installed) hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#

Nick Stamatakos
Chief, Earth Orientation Parameters Division
US Naval Observatory, NW
Washington, DC 20392
(w) 202-762-1518

________________________________________
From: <email address hidden> [<email address hidden>] on behalf of goutamkk [<email address hidden>]
Sent: Tuesday, May 31, 2011 12:50 AM
To: Stamatakos, Nick
Subject: Re: [Question #159305]: This installer cannot install 'libusb' for your distro/OS and/or version

Your question #159305 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/159305

    Status: Open => Answered

goutamkk proposed the following answer:
Hi,

Please run the below commands and paste the output here.

[root@ren tmp17]#rpm -ev --nodeps libsane-hpaio-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -ev hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]# rpm -ev hplip-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm

Thanks & Regards,
Goutam Kodu

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/159305/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/159305

You received this question notification because you asked the question.

Revision history for this message
goutam kodu (goutam-hplip) said :
#6

Hi,

Please erase hpijs-1.6.7-6.el5_6.1.x86_64, hplip-1.6.7-6.el5_6.1.x86_64 packages using command,

[root@ren tmp17]#rpm -ev - -nodeps hpijs-1.6.7-6.el5_6.1.x86_64
[root@ren tmp17]#rpm -ev - - nodeps hplip-1.6.7-6.el5_6.1.x86_64

And next run the command

[root@ren tmp17]#rpm -Uvh - -nodeps - - replacefiles hplip-3.11.5_rhel-5.0.x86_64.rpm

Let us know on the same.

Thanks & Regards,
Goutam Kodu

Can you help with this problem?

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

To post a message you must log in.