Solved

How do i install RPMs ignoring the dependencies in RHEL5

Posted on 2008-10-08
8
806 Views
Last Modified: 2013-12-06
I have a RHEL5 machine and i am using it as a mail server.The sendmail version in it is the deafult one which gets along with RHEL5. Now I want to upgrade the sendmail to newer version. I have downloaded the rpms and when i tried to install it , it says that some libcypto.s0.7 file is required for it, and when i try to install the openssl ( which installs libcrypto.so.) it asks fro glibc.2_8, and the dependency chain goes on. And at some point i have faced a dead lock situation( dont exaclty remember the file names) like when i isntall fileA it says fileB is needed, and vice versa. I got frustrated and used 'rpm --nodeps' for installing all the RPMs and some how the new sendmail version got installed. But after reboot many programs are showing up error messages like 'cannot access shared libraries'..anyone please help me with this RPMs.. How to upgrade the glibc and other library files without affecting the programs that are using them...by the way mine is free version( not licensed, no yumupdates :) )
0
Comment
Question by:subbarai
  • 4
  • 3
8 Comments
 
LVL 4

Expert Comment

by:urgoll
ID: 22675492
Greetings,
First of all, when you say you're using 'free' RHEL5, do you mean CentOS version 5, or is it RHEL5 for which you are not paying a license ? If it's the later, just don't say it. And you should switch to CentOS5 and be legal.

As for the RPM, there's usually a very good reason when RPM complains about bad dependencies. In your case, you probably got a sendmail RPM from a 3rd party source which either wasn't designed for RHEL5 or for a newer version of RHEL5 than what you have.

Did you keep a list of all the RPMs you 'upgraded' ? And can you tell us where you got them from ?

Some packages are critical to the stability of the system, glibc being the most critical one as it is used by every single application on the system. By definition, you cannot upgrade glibc without affecting other programs.

I think that the best course of action right now is to remove those RPMs that you tried to upgrade, and replace them with straight RHEL5 ones from your install media.

Once that is done and you have a system that's stable again, you can go back to upgrading software.

If you want a source of 3rd party packages that work well with RHEL5, you should have a look at Dag Wieers' repository at:
http://dag.wieers.com/rpm/packages/

Regards,
Christophe
0
 
LVL 19

Expert Comment

by:jools
ID: 22676720
urgoll: I thought RHEL was free, you just paid for the support and updates.

You can however, use RHEL 5 and configure the Centos repositories then use yum to update, over time it will turn itself into a Centos system anyway.
0
 
LVL 4

Expert Comment

by:urgoll
ID: 22677744
No, RHEL is not free. Red Hat uses a subscription model where you pay a given amount per year per server, where the amount you pay is based on the level of support and type of server you have.

RHEL is (mostly) open-source, which is how CentOS exists - they remove the non-open-source bits from RHEL (mostly the packages with the trademarks), rebuild and repackage everything and replace up2date with yum.

From CentOS.org :
Before building the OS, non-free packages are altered. Non-free packages would include those encumbered with a non-redistributable copyright or trademark.

0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 19

Expert Comment

by:jools
ID: 22681039
Apologies, this is OT. It wasnt what I was told when I did the RHCE.

I found this; https://www.redhat.com/about/whysubscriptions/
Nice video, the bloke says it's free (open source).

The subscription is the support and updates which seems like a fair deal to me.
0
 
LVL 4

Expert Comment

by:urgoll
ID: 22682365
jools,
in that video, the term 'free' means open source, and applies to the underlying technology. It doesn't say that the distribution is free of charge, that you can download the ISO and deploy on as many computers as you want. It means that you have the freedom of accessing the source code of the operating system and make changes if you so wish. And after you have made changes, you can distribute those changes to whoever you want.

This freedom is what enables CentOS to offer a distribution that's 99% identical to RHEL.
0
 
LVL 19

Expert Comment

by:jools
ID: 22701704
I have an answer from RedHat (below).

You are not using RHEL illegally. Have a go at configuring yum for Centos repositories, you may need to force the installation of some packages first.

<paste>
You may request a free 30 day evaluation via our website. This will allow you to download the software and get updates for 30 days. Following this period you will no longer get any updates however you are more than welcome to continue using the software. This evaluation does not include any support.

In order to request the evaluation please follow the instructions below:

1. Go to https://www.redhat.com
2. Click on 'Downloads' at the very top of the page.
3. On the next page you will see a list of products that can be tested.

Please do not hesitate to contact me if you have any further questions.

Kind Regards,

Liv

EMEA - Customer Service Associate
</paste>
0
 

Author Comment

by:subbarai
ID: 22701750
urgoll,
Thanks for your reply. I am using the RHEL5 free version. I want to upgrade the sendmail to the lastest version. i have downloaded the sendmail-8.14.3-1.fc10.i386.rpm (also cf and devel)from rpmfind.net
this all happened while i was installing it. Now when i start the server while booting its giving message like "cannot open font file latarchyher..." and after that its showing the blue screen with pop up saying " GDM was doesnot exist. Please correct the GDM" ( not exact) , when i press the OK button, its asking for the login and password. i gave the root and pcorrect password...thats it the system hung. Any way i will reinstall the OS...:). But can you please tell me how to upgrade using RPMs . I mean are there any precautions to be taken whitle upgrading.
0
 
LVL 4

Accepted Solution

by:
urgoll earned 500 total points
ID: 22730704
I still stand by my original reply: Of course, now we know the 'where you got them', i.e. rpmfind.net. However, there's no garantee they are conpatible with RHEL5.

So the best course of action would be:
- Remove RPM from untrusted source
- Install the original RHEL5 RPMs from install media
- Confirm that the system is stable again.
- Upgrade to the latest sendmail from CentOS 5 to get the latest security updates. I believe that will get you 8.13, and not 8.14.


My original answer:

Did you keep a list of all the RPMs you 'upgraded' ? And can you tell us where you got them from ?Some packages are critical to the stability of the system, glibc being the most critical one as it is used by every single application on the system. By definition, you cannot upgrade glibc without affecting other programs.I think that the best course of action right now is to remove those RPMs that you tried to upgrade, and replace them with straight RHEL5 ones from your install media.Once that is done and you have a system that's stable again, you can go back to upgrading software.If you want a source of 3rd party packages that work well with RHEL5, you should have a look at Dag Wieers' repository at:http://dag.wieers.com/rpm/packages/
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question