LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2016, 03:20 PM   #1
jgorman81
LQ Newbie
 
Registered: Nov 2016
Posts: 1

Rep: Reputation: Disabled
Problem updating RHEL with Centos Repos


Hi!

I'm doing some work for a client. The system is RHEL 6.0. They don't seem to have registered it, and they are a pain to get a hold of so I am trying to update some stuff with the centos Repos. Specifically I need perl module IO::Socket::SSL.

I get the following message. Is there any work around, or do I really need to wait for my client to register the system?:

--> Finished Dependency Resolution
Error: Package: perl-Net-SSLeay-1.30-4.fc6.x86_64 (centos)
Requires: libssl.so.6()(64bit)
Available: openssl-0.9.8e-27.el5_10.4.x86_64 (centos)
libssl.so.6()(64bit)
Installed: openssl-1.0.1e-42.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Not found
Error: Package: redhat-lsb-core-4.0-7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Requires: perl-CGI
Removing: perl-CGI-3.51-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
perl-CGI = 3.51-141.el6
Obsoleted By: 4erl-5.8.8-42.el5.i386 (centos)
Not found
Error: Package: perl-Net-SSLeay-1.30-4.fc6.x86_64 (centos)
Requires: libcrypto.so.6()(64bit)
Available: openssl-0.9.8e-27.el5_10.4.x86_64 (centos)
libcrypto.so.6()(64bit)
Installed: openssl-1.0.1e-42.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Not found
Error: Package: perl-core-5.10.1-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Requires: perl-CPAN
Removing: perl-CPAN-1.9402-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
perl-CPAN = 1.9402-141.el6
Obsoleted By: 4erl-5.8.8-42.el5.i386 (centos)
Not found
Error: Package: glibc-2.5-123.i686 (centos)
Requires: glibc-common = 2.5-123
Installed: glibc-common-2.12-1.166.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
glibc-common = 2.12-1.166.el6
Available: glibc-common-2.5-123.x86_64 (centos)
glibc-common = 2.5-123
Error: Package: perl-core-5.10.1-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Requires: perl-CGI
Removing: perl-CGI-3.51-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
perl-CGI = 3.51-141.el6
Obsoleted By: 4erl-5.8.8-42.el5.i386 (centos)
Not found
Error: Package: perl-core-5.10.1-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
Requires: perl-Time-HiRes
Removing: 4erl-Time-HiRes-1.9721-141.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
perl-Time-HiRes = 4:1.9721-141.el6
Obsoleted By: 4erl-5.8.8-42.el5.i386 (centos)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
 
Old 11-23-2016, 03:44 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
You don't include the command you used to produce the above error message (which, by the way, you should enclose in CODE tags)

Anyway, I think you probably have three sensible options (technically there are a few more, but could screw up the system, so I won't mention them).

1. Use CPAN directly; if you're not familiar with CPAN, just look up how to install perl modules via CPAN. It's easy, like dnf or python pip or ruby gems or whatever you are familiar with.

2. Re-build the RPM to match your distro. See here: http://www.straightedgelinux.com/unix/srpm

3. Convert the server to CentOS so you can safely use CentOS packages. See here: https://wiki.centos.org/HowTos/MigrationGuide

Last edited by notKlaatu; 11-23-2016 at 03:46 PM.
 
1 members found this post helpful.
Old 11-23-2016, 08:20 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the one really big and well UNSOLVABLE problem is trying to update the rather old rhel6.0 with the repos for centos 6.8

in the error you posted are you trying to use the old rhel6.7 iso image to update a 6.0 install ?
along with the cent update repos ??????
and why are there cent 5 rpm's installed on 6 ????
see the "el5" in what you posted this is rhel/centos 5 and NOT 6

that is not going to work ever

now
you can migrate from redhat to cent
but the rhel install will need to be up to date and running the current rhel6.8
then it is a simple mater of migrating

for redhat you really DO NEED the required support contract
contact redhat sales



this is looking like what is called a Frankensteined install
parts of many things

for that there is only ONE fix
reformat the drives and reinstall

Last edited by John VV; 11-23-2016 at 08:24 PM.
 
1 members found this post helpful.
Old 11-24-2016, 10:56 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'd strongly endorse John's point. They've got an unsupported installation of a distro released 6 years ago, together with bits of other things. It's a disaster waiting to happen, and they can count themselves lucky that it hasn't happened yet. Gently try to get them to set up a reliable, supported system.
 
Old 11-24-2016, 11:23 AM   #5
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by DavidMcCann View Post
I'd strongly endorse John's point. They've got an unsupported installation of a distro released 6 years ago, together with bits of other things. It's a disaster waiting to happen, and they can count themselves lucky that it hasn't happened yet. Gently try to get them to set up a reliable, supported system.
Good advice.
You mentioned that it is difficult to get in contact with the client. You may need to develope more channels of communication to get decisions from them. IF you do rebuild the box, and they are slow to register, perhaps CentOS 7 (latest) would be better for them than any version of RHEL. It may be worth discussion.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to update repos in CentOS 5.6 yum.repos.d!!!!! Explore_Linux Linux - Newbie 1 09-28-2011 04:20 AM
CentOS 5 repos on RHEL 6 mhatrey Red Hat 4 08-24-2011 05:56 AM
using centos repos under rhel sycamorex Linux - Software 4 05-26-2008 11:35 AM
apt-get update not updating repos. recently? truthe Debian 6 04-09-2005 05:42 PM
after updating RHEL AS 4 w/ CentOS' YUM repository.... guest cAos 2 03-17-2005 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration