Inatallation fails (usblib wanted although there)

Bug #858793 reported by Johannes Scheuchenpflug
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
goutam kodu

Bug Description

OS: OpenSuse 11.4 (64Bit)
Starting downloaded HPlip:
sh hplip-3.11.7.run
custom mode chosen (automatic mode same behaviour)
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) : c

Initializing. Please wait...

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be SUSE Linux 11.4.

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

SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Graphical User Interfaces (Qt4)' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ?

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password accepted

INSTALLATION NOTES
------------------
Please be sure to disable the CD repositories in YaST and after installation you must log out and back in to become a member of the lp and sys group to enable printing.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

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

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libusb (libusb - USB library)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "zypper refresh" (Pre-depend step 1)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-devel"'
Please wait, this may take several minutes...
Running 'su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-0"'
Please wait, this may take several minutes...
warning: A previous install of HPLIP is installed and/or running.

Would you like to have this installer attempt to uninstall the previously installed HPLIP (y=yes*, n=no, q=quit) ?
su -c "zypper --non-interactive rm hplip" (Removing old HPLIP version)
warning: HPLIP removal failed. The previous install may have been installed using a tarball or this installer.
warning: Continuing to run installer - this installation should overwrite the previous one.

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK

RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'libusb (libusb - USB library)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.

system says:
# zypper in libusb-1_0-0 libusb-1_0-devel
Loading repository data...
Reading installed packages...
'libusb-1_0-devel' is already installed.
No update candidate for 'libusb-1_0-devel-1.0.8-4.1.x86_64'. The highest available version is already installed.
'libusb-1_0-0' is already installed.
No update candidate for 'libusb-1_0-0-1.0.8-4.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.

Revision history for this message
goutam kodu (goutam-hplip) wrote :

Hi Johannes,

I tried the set up here in our lab. Installed fresh OpenSUSE 11.4 (64bit) and installed hplip-3.11.7.run successfully. I could not reproduce this issue here so to understand more, can you please post us the output of below commands:

1.su -c"rpm -qa | grep libusb*"
2.su -c"find / -name usb.h"

Now hplip-3.11.10 is the latest. You can also try installing hplip-3.11.10.run file by downloading it from here;
http://hplipopensource.com/hplip-web/gethplip.html

Let us know on the same.
Sorry for inconvenience caused

Thanks,
Goutam Kodu

Changed in hplip:
status: New → In Progress
assignee: nobody → goutamkk (goutam-hplip)
Revision history for this message
Enrico Tebaldi (enrico2468) wrote :
Download full text (4.9 KiB)

I have the same problem as Johannes. My su -c"rpm -qa | grep libusb*" result is:

libusb-0_1-4-32bit-0.1.13-14.1.2.x86_64
libusb-1_0-0-1.0.8-9.1.2.x86_64
libusb-1_0-devel-1.0.8-9.1.2.x86_64
libusb-1_0-0-32bit-1.0.8-9.1.2.x86_64
libusb-0_1-4-0.1.13-14.1.2.x86_64
libusb-1_0-devel-32bit-1.0.8-9.1.2.x86_64
libustr-1_0-1-1.0.4-20.1.6.x86_64
libusbmuxd1-1.0.7-6.4.1.x86_64
libusbmuxd1-32bit-1.0.7-6.4.1.x86_64
libustr-1_0-1-32bit-1.0.4-20.1.6.x86_64

Yet the installer still complains of:
"error: A required dependency 'libusb (libusb - USB library)' is still missing."

My su -c"find / -name usb.h" result is:

find: `/proc/4112/net': Invalid argument
/usr/src/linux-3.1.10-1.9/drivers/usb/storage/usb.h
/usr/src/linux-3.1.10-1.9/drivers/usb/core/usb.h
/usr/src/linux-3.1.10-1.9/drivers/staging/keucr/usb.h
/usr/src/linux-3.1.10-1.9/drivers/net/wireless/rtlwifi/usb.h
/usr/src/linux-3.1.10-1.9/include/linux/usb.h
/usr/src/linux-3.1.10-1.9/arch/mips/include/asm/mach-pnx8550/usb.h
/usr/src/linux-3.1.10-1.9/arch/arm/plat-mxc/include/mach/usb.h
/usr/src/linux-3.1.10-1.9/arch/arm/mach-ux500/include/mach/usb.h
/usr/src/linux-3.1.10-1.9/arch/arm/mach-davinci/include/mach/usb.h
/usr/src/linux-3.1.10-1.9/arch/arm/plat-omap/include/plat/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/rt2x00/lib/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/orinoco/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/line6/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/wimax/i2400m/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/ft1000/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/dvb/b2c2/flexcop/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/dvb/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/libertas/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/libertas/thinfirm/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/at76c50x/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/snd/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/p54/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/prism2/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/i2c/tiny/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/can/ems/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/desktop/include/config/joystick/iforce/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/rt2x00/lib/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/orinoco/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/line6/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/wimax/i2400m/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/ft1000/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/dvb/b2c2/flexcop/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/dvb/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/libertas/usb.h
/usr/src/linux-3.1.10-1.9-obj/x86_64/xen/include/config/...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.