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

Bug #789243 reported by Nick Stamatakos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Committed
Undecided
Unassigned

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.

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

Hi,

Prior to the installation of hplip-3.11.5 did you run these commands,

su -c "rpm -ev --nodeps libsane-hpaio"
su -c "rpm -ev hplip-gui"
su -c "rpm -ev hplip"
su -c "rpm -ev hpijs "

If no, please run the above commands and post us the results . And next install the hplip-3.11.5 using command

su -c "rpm -Uvh hplip-3.11.5_rhel-5.0.x86_64.rpm".

Thanks,
Goutam Kodu

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

Hi,

Please can you run the below commands and paste the results here;

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

Thanks & Regards,
Goutam Kodu

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

Hello Goutam Kodu--

Password:
[root@ren ~]# rpm -qa hplip
hplip-1.6.7-6.el5_6.1

[root@ren ~]# rpm -qa hpijs
hpijs-1.6.7-6.el5_6.1

[root@ren ~]# rpm -qa libsane-hpaio
libsane-hpaio-1.6.7-6.el5_6.1

[root@ren ~]# rpm -qa hplip-gui
[root@ren ~]#
(I.e., there is no rpm installed for hplip-gui).
[root@ren ~]# yum install hplip-gui
Loaded plugins: rhnplugin, security
Setting up Install Process
No package hplip-gui available.
Nothing to do

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

Hi,

Please can you run the below commands and paste the results here;

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

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

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

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

Revision history for this message
Nick Stamatakos (nick-stamatakos) wrote :
Download full text (7.8 KiB)

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.x...

Read more...

Revision history for this message
Nick Stamatakos (nick-stamatakos) wrote :
Download full text (8.1 KiB)

Hi Goutam--
IT WORKED! Thanks for your help. I got xsane to recognize the scanner.

Now, a new problem, scans haver vertical lines... but I don't think you can help me with that. Can you?

Thanks again,
Nick

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

________________________________________
From: Stamatakos, Nick
Sent: Wednesday, June 01, 2011 8:33 AM
To: Bug 789243
Subject: 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 ...

Read more...

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

Hi,

Can you attach the scaned document here ?

Thanks & Regards,
Goutam Kodu

Revision history for this message
Nick Stamatakos (nick-stamatakos) wrote :

Hi Goutam Kodu--
I found the problem -- dirty scanner feed plate. I found instructions on internet for how to clean it. Works great!

Thanks again for all your help!

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

Hi,

Can you attach the scaned document here ?

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

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

Hi,

Thanks for running all the command and making it solved. Will update the instructions at http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.htm. Hence committing the fix.

Thanks
Goutam Kodu

Changed in hplip:
status: New → Fix Committed
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.