Tried to install hplip-3.13.4 on Centos 5.9 x86_64 to connect an HP LaserJet 400 M401n. Get the error about libhp3mud.so.0 not being found

Asked by alex b

I bought an HP LaserJet 400 M401n and tried to connect it to a Centos 5.9 x86_64. I followed all instructions on how to manually install, but hplip apparently is still not installed, it installed an hplipfull.

# rpm -q hplip
package hplip is not installed
[root@new-screamer ~]# rpm -q hplipfull
hplipfull-3.13.4-0
[root@new-screamer ~]# hp-setup
Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 45, in ?
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/share/hplip/base/device.py", line 42, in ?
    import status
  File "/usr/share/hplip/base/status.py", line 59, in ?
    import hpmudext
ImportError: libhp3mud.so.0: cannot open shared object file: No such file or directory
[root@new-screamer ~]#

If I try to install hplip3-libs it gives me a conflict:

                                                           3.9.8-15.el5 base
[root@new-screamer ~]# yum install hplip3-libs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: bay.uchicago.edu
 * extras: centos-mirror.jchost.net
 * rpmforge: mirror.nexcess.net
 * updates: mirror.beyondhosting.net
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package hplip3-libs.x86_64 0:3.9.8-15.el5 set to be updated
--> Processing Dependency: hplip3-common = 3.9.8-15.el5 for package: hplip3-libs
--> Running transaction check
---> Package hplip3-common.x86_64 0:3.9.8-15.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================
 Package Arch Version Repository Size
==========================================================================================================================================================
Installing:
 hplip3-libs x86_64 3.9.8-15.el5 base 138 k
Installing for dependencies:
 hplip3-common x86_64 3.9.8-15.el5 base 54 k

Transaction Summary
==========================================================================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)

Total download size: 192 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): hplip3-common-3.9.8-15.el5.x86_64.rpm | 54 kB 00:00
(2/2): hplip3-libs-3.9.8-15.el5.x86_64.rpm | 138 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------
Total 457 kB/s | 192 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
  file /etc/udev/rules.d/55-hpmud.rules from install of hplip3-common-3.9.8-15.el5.x86_64 conflicts with file from package hplipfull-3.13.4-0.x86_64
  file /etc/udev/rules.d/56-hpmud_support.rules from install of hplip3-common-3.9.8-15.el5.x86_64 conflicts with file from package hplipfull-3.13.4-0.x86_64
  file /usr/lib64/python2.4/site-packages/hpmudext.so from install of hplip3-libs-3.9.8-15.el5.x86_64 conflicts with file from package hplipfull-3.13.4-0.x86_64
  file /usr/lib64/python2.4/site-packages/scanext.so from install of hplip3-libs-3.9.8-15.el5.x86_64 conflicts with file from package hplipfull-3.13.4-0.x86_64

Error Summary
-------------
What am I doing wrong?

Thank you

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

Hi Alex,

From above logs, package conflict happening between hplip-3.9.8 and hplipfull-3.13.4 package.

Remove the existing packages as follows:-
1) list existing packages
command: rpm -qa |grep hplip

--> output may list hplip3-common-3.9.8-15.el5.x86_64 , hplip3-libs-3.9.8-15.el5.x86_64 and hplipfull-3.13.4-0.x86_64 etc.
--> For the listed packages. run below command to remove the package.

command: su -c "rpm -ev --nodeps hplip3-common"
command: su -c "rpm -ev --nodeps hplip3-libs"
command: su -c "rpm -ev --nodeps hplipfull"
etc..

3) Install the latest package as mentioned in http://hplipopensource.com/hplip-web/install/manual/distros/centos.html site.

Thanks & Regards,
Amarnath

Revision history for this message
Neelabh Singh (neelabhsingh1986) said :
#2

My censtos7 printer setting showing Deskjet-3540-series, but I don't have this printer. I have "hp deskjet advantage 354"

For this I download drivers "hplip-3.15.7_rhel-7.0.x86_64.rpm" for centos7.

And ran following commands

First I tried
1.
$ sudo yum install hplip-3.15.7_rhel-7.0.x86_64.rpm

....................................
Some steps for downloading
.............
Running transaction check
Running transaction test

Transaction check error:
  file /etc/hp/hplip.conf from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
  file /usr/share/hplip/data from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
  file /usr/share/hplip/data/models from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
  file /usr/share/hplip/data/models/models.dat from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64

Error Summary
-------------

After that I tried the following commands

[neelabh@localhost Softwares]$ sudo rpm -Uvh hplip-3.15.7_rhel-7.0.x86_64.rpm
error: Failed dependencies:
 libsane.so.1()(64bit) is needed by hplipfull-3.15.7-0.x86_64
[neelabh@localhost Softwares]$ su -c "rpm -Uvh hplip-3.15.7_rhel-7.0.x86_64.rpm --nodeps"
Password:
Preparing... ################################# [100%]
 file /etc/hp/hplip.conf from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data/models from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data/models/models.dat from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
[neelabh@localhost Softwares]$
[neelabh@localhost Softwares]$ rpm -qa |grep hplip
hplip-common-3.13.7-6.el7.x86_64
[neelabh@localhost Softwares]$ su -c "rpm -Uvh hplip-3.15.7_rhel-7.0.x86_64.rpm --nodeps"
Password:
Preparing... ################################# [100%]
 file /etc/hp/hplip.conf from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data/models from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64
 file /usr/share/hplip/data/models/models.dat from install of hplipfull-3.15.7-0.x86_64 conflicts with file from package hplip-common-3.13.7-6.el7.x86_64

Revision history for this message
goutam (goutamkk) said :
#3

run command su -c ' rpm -ev --nodeps hplip-common' in terminal to remove the package 'hplip-common' and re-run the command
su -c' rpm -Uvh hplip-3.15.7_rhel-7.0.x86_64.rpm' to install hplipfull package.

Thanks,
goutam

Can you help with this problem?

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

To post a message you must log in.