find the libusb package

Asked by nguyen-minh

Hi i tried to install last version of HPLIP, but there are dependencies i have to install and this one i can't find it : libusb.
I have Ubuntu 12.04, and here you can have a look of the terminal :
Tâm ( Thanks !)

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) : a

Initializing. Please wait...

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 12.04.

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

ENTER USER PASSWORD
-------------------
Please enter the user (nguyen-minh)'s password:
Password accepted

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 4 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.

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
Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

Thanks for reporting the issue in HPLIP. To help us understand and analyze the issue please follow following things.
=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html (automatic) or http://hplipopensource.com/hplip-web/install/manual/index.html (manual, if automatic does not work)

=> run "hp-check --fix" command in the terminal if manual installation is done

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin" (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing/Scanning now.

If problem does not get solved then please run following command to capture the logs and send the logs.

$su -c "hp-logcapture"

**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option

Revision history for this message
nguyen-minh (cicitamos-somatic-ci) said :
#2

Do i have firste to uninstall the actual version of hplip ? when i try to install the latest version as recommended, it says that it is not permitted...

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

Hi,

HPLIP version 3.10.9 requires libusb-0.1 (libusb package) version, where as in Ubuntu-12.04 , libusb-0.1 (libusb package) is not available and upgraded libusb-1.0 (libusb-1.0-0 package) is available.

So please install latest HPLIP @ http://hplipopensource.com/hplip-web/install/install/index.html ( latest hplip supports libusb-1.0 ).
Note:- No need to uninstall older hplip package explicitly. Just run following command.

--> download hplip-3.12.10.run file to ~/Downloads folder.
$ cd ~/Downloads
$ sh hplip-3.12.10.run
--> Connect pinter
$ hp-setup

Thanks & Regards,
Amarnath

Can you help with this problem?

Provide an answer of your own, or ask nguyen-minh for more information if necessary.

To post a message you must log in.