CentOS 5.11 Problems with yum/rpm

General support questions including new installations
Post Reply
taurus592
Posts: 2
Joined: 2015/08/29 01:15:02

CentOS 5.11 Problems with yum/rpm

Post by taurus592 » 2015/08/29 01:56:29

Hi,
Relatively long time Linux user, new to CentOS and RPMs. I need to run Centos 5 for work so I installed it a couple of days ago. The work software that I need to run has dependencies on several other packages. The install instructions for that software showed how to determine if a package was installed...
rpm -qa | grep <package>
I did this for each of the listed dependencies and there were four required packages that were not installed (libICE, libuuid, libxcb, and nss-softokn-freebl).
I tried "yum install..." for each of these packages, and yum was unable to find them from the mirrors. I googled a little and found the rpmfind.net site. On that site I found each of the packages, but none of them indicated they were for Centos5. I downloaded an RPM for each package that said it was for Centos 6 because they were closest to the system I'm running. Not sure if that is OK, is it?
Anyway, then I tried installing via rpm. Here are the results of one attempt:

**Begin Paste
# rpm --install ./libICE-1.0.6-1.el6.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.11)(64bit) is needed by libICE-1.0.6-1.el6.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by libICE-1.0.6-1.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by libICE-1.0.6-1.el6.x86_64
**End Paste

Not 100% sure what this is telling me, but I'm worried if I try to resolve these, they will generate a cascade of other dependency errors, and I ultimately need to be running Centos 5.

I also tried yum. The errors were different, but the results the same (none of the packages installed). Here is one example, they all failed with the same error.

**Begin Paste
# yum install libuuid-2.17.2-12.18.el6.x86_64.rpm
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* extras: mirror.oss.ou.edu
* updates: mirrors.seas.harvard.edu
Setting up Install Process
Examining libuuid-2.17.2-12.18.el6.x86_64.rpm: libuuid-2.17.2-12.18.el6.x86_64
Marking libuuid-2.17.2-12.18.el6.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package libuuid.x86_64 0:2.17.2-12.18.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libuuid x86_64 2.17.2-12.18.el6 /libuuid-2.17.2-12.18.el6.x86_64 16 k

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

Total size: 16 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de

Public key for libuuid-2.17.2-12.18.el6.x86_64.rpm is not installed
**End Paste

I tried several google searches for how to find the missing public keys. Lots of hits, but none helped, so I decided to come to the experts.

I did read that it is possible to disable the 'key check', but that seems like a security risk. Is it, or am I paranoid? What are the steps needed to install these packages and/or update the public keys?

Thank you in advance,
Jon

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: CentOS 5.11 Problems with yum/rpm

Post by chemal » 2015/08/29 16:32:56

I downloaded an RPM for each package that said it was for Centos 6 because they were closest to the system I'm running. Not sure if that is OK, is it?
No.

And if your software needs libxcb it isn't compatible with C5.

taurus592
Posts: 2
Joined: 2015/08/29 01:15:02

Re: CentOS 5.11 Problems with yum/rpm

Post by taurus592 » 2015/08/30 02:29:42

Thanks Chemal, I appreciate the input.

I will have to ask our SW developers about this.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 5.11 Problems with yum/rpm

Post by TrevorH » 2015/08/30 10:12:30

I would not run CentOS 5 on a new install anyway - it has about 18 months of life left and Redhat are now only producing security fixes for it for really important vulnerabilities. Besides, from all those errors it looks more like your software is designed for CentOS 6 anyway.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply