redhat-lsb.i686 not found in RH6.4

Latest response

Hi All,
some of the programs requires "redhat-lsb.i686" to be installed as their prerequisites, however, on RH6.4 'redhat-lsb.i686" rpm has been upgraded to "redhat-lsb-4.0-7.el6.x86_64" . or in other words "redhat-lsb-i686" has been downgraded/removed from 6.4...

Any comments/solutions/workaround ....?

Thanks,

Responses

Is the package/program you are attempting to install coming from the Red Hat repository or a third party?

Is the package for RHEL5 or RHEL6?

Can you provide some more details on what you are attempting to install and how (ie. yum install from repo, local rpm install etc.)

The package definitely exists, see here (if you have subscription access):
https://rhn.redhat.com/rhn/software/packages/details/Overview.do?pid=756899

In alignment with PixelDrift, I would ask what you are using for an install source. The following is what I have currently on my Satellite System

redhat-lsb-4.0-7.el6.i686   Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
redhat-lsb-4.0-7.el6.x86_64     Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
redhat-lsb-4.0-3.el6.i686   Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
redhat-lsb-4.0-3.el6.x86_64     Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
redhat-lsb-4.0-2.1.el6.i686     Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
redhat-lsb-4.0-2.1.el6.x86_64   Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64) 

Try the following command (on a target system):

yum --showduplicates list redhat-lsb
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Installed Packages
redhat-lsb.x86_64 4.0-7.el6   @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
Available Packages
redhat-lsb.i686   4.0-2.1.el6 XXX-rhel-x86_64-server-6                          
redhat-lsb.x86_64 4.0-2.1.el6 XXX-rhel-x86_64-server-6                          
redhat-lsb.i686   4.0-3.el6   XXX-rhel-x86_64-server-6                          
redhat-lsb.x86_64 4.0-3.el6   XXX-rhel-x86_64-server-6                          
redhat-lsb.i686   4.0-7.el6   XXX-rhel-x86_64-server-6                          
redhat-lsb.x86_64 4.0-7.el6   XXX-rhel-x86_64-server-6   

these rpms are there in repository/satellite/locally and installed, but they are kindoff an empty rpms.
[root@ptc-lglogapp702 ~]# rpm -qa|grep redhat-lsb-4
redhat-lsb-4.0-7.el6.x86_64
redhat-lsb-4.0-7.el6.i686
[root@ptc-lglogapp702 ~]# rpm -ql rpm -qa|grep redhat-lsb-4
(contains no files)
(contains no files)
[root@ptc-lglogapp702 ~]#

The reason the packages are empty (no files) is because they are meta packages which are used to bring in a set of other packages.

ie. the lsb package just has a list of dependencies which installs other packages.

Which package are you trying to install that requires lsb? what file is it looking for specifically?

Unfortunately I don't think that syntax would work.

You could do any of the following:

rpm -ql redhat-lsb
rpm -ql `rpm -qa redhat-lsb`
for SHIZZLE in `rpm -qa | grep redhat-lsb`; do rpm -ql $SHIZZLE; done

we would required these files as in 5.6...
root@FOO_RH5.6x64:~ # rpm -ql rpm -qa |grep redhat-lsb|grep ld-lsb.so
/lib/ld-lsb.so.3
/lib/ld-lsb.so.3


per netiq agent prerequisites, we would require that rpm and the file netiq is checking is : "/lib/ld-lsb.so.1"

Those files are in redhat-lsb-core

How are you installing the rpms? the redhat-lsb-core package should have been brought in by the redhat-lsb package unless it was installed with nodeps

The package name is redhat-lsb-core-4.0-7.el6.i686.rpm

It contains /lib/ld-lsb.so.3 (it's a symlink)

Sounds like the netiq package is old (for RHEL 5), so you may need to create a symlink for ld-lsb.so.1 and hope it works. Is /lib/ld-lsb.so.1 a symlink on your RHEL 5 server?

If you have a system with the file you want you can determine which package provides it using the following command

rpm -qf /path/to/file.name

with above things , and little change in script, we got it working.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.