Comment 5 for bug 789243

Revision history for this message
Nick Stamatakos (nick-stamatakos) wrote : RE: [Bug 789243] Re: Instructions at http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.html do not work

Hi Goutam--
[root@ren ~]# rpm -ev --nodeps libsane-hpaio
error: package libsane-hpaio is not installed
[root@ren ~]# rpm -ev hplip
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 ~]# rpm -ev hpijs
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 ~]#

It seems that hpijs and hplip cannot be removed with rmp -ev command-- as I've shown above.

I next tried:
[root@ren ~]# yum erase hplip
Loaded plugins: rhnplugin, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package hplip.x86_64 0:1.6.7-6.el5_6.1 set to be erased
--> Processing Dependency: libhpip.so.0()(64bit) for package: hpijs
--> Processing Dependency: hplip = 1.6.7-6.el5_6.1 for package: hpijs
--> Running transaction check
---> Package hpijs.x86_64 1:1.6.7-6.el5_6.1 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================
 Package Arch Version Repository Size
=======================================================================================================================================================
Removing:
 hplip x86_64 1.6.7-6.el5_6.1 installed 12 M
Removing for dependencies:
 hpijs x86_64 1:1.6.7-6.el5_6.1 installed 439 k

Transaction Summary
=======================================================================================================================================================
Remove 2 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing : hplip 1/2
  Erasing : hpijs 2/2

Removed:
  hplip.x86_64 0:1.6.7-6.el5_6.1

Dependency Removed:
  hpijs.x86_64 1:1.6.7-6.el5_6.1

That seemed to work:
[root@ren ~]# rpm -qa hplip
[root@ren ~]# rmp -qa hpijs
-bash: rmp: command not found
[root@ren ~]# rpm -qa hpijs
[root@ren ~]# rpm -qa libsane-hpaio

So, I tried your command next:
[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
Preparing... ########################################### [100%]
        file /etc/udev/rules.d/55-hpmud.rules from install of hplip-3.11.5-0.x86_64 conflicts with file from package hplip3-common-3.9.8-11.el5_6.1.x86_64
        file /etc/udev/rules.d/56-hpmud_support.rules from install of hplip-3.11.5-0.x86_64 conflicts with file from package hplip3-common-3.9.8-11.el5_6.1.x86_64

[root@ren tmp17]# yum erase hplip3-common
Loaded plugins: rhnplugin, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package hplip3-common.x86_64 0:3.9.8-11.el5_6.1 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================
 Package Arch Version Repository Size
=======================================================================================================================================================
Removing:
 hplip3-common x86_64 3.9.8-11.el5_6.1 installed 725 k

Transaction Summary
=======================================================================================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing : hplip3-common 1/1

Removed:
  hplip3-common.x86_64 0:3.9.8-11.el5_6.1

Complete!
[root@ren tmp17]#

[root@ren tmp17]# rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm
Preparing... ########################################### [100%]
   1:hplip ########################################### [100%]
ldconfig: /usr/local/lib/libmhash.so.2 is not a symbolic link

Now it seemed to work.

What is next step?

thanks
Nick

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 11:48 PM
To: Stamatakos, Nick
Subject: [Bug 789243] Re: Instructions at http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.html do not work

Hi,

Prior to installation of hplip-3.11.5. The existing conflicting packages
hplip-1.6.7-6.el5_6.1, hpijs-1.6.7-6.el5_6.1, libsane-
hpaio-1.6.7-6.el5_6.1 are to be erased.

What do you see when you run below commands,

[root@ren tmp17]#rpm -ev - -nodeps libsane-hpaio
[root@ren tmp17]#rpm -ev hplip
[root@ren tmp17]#rpm -ev hpijs

After running the above commands please check whether the packages are
erased.

[root@ren tmp17]#rpm -qa hplip
[root@ren tmp17]#rpm -qa hpijs
[root@ren tmp17]#rpm -qa libsane-hpaio

Next, try installing hplip-3.11.5_rhel-5.0.x86_64.rpm

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

Please post us the results of above commands.

Thanks & Regards,
Goutam Kodu

--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/789243

Title:
  Instructions at http://hplipopensource.com/hplip-
  web/install/manual/distros/redhatenterprise.html do not work

Status in HP Linux Imaging and Printing:
  New

Bug description:
  I have Red Hat EL 5.6 all updated packages installed. When I run
  instructions below, I get dependency problems:

  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

  Can you update or tell me what to do.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/hplip/+bug/789243/+subscribe