LinuxQuestions.org
Review your favorite Linux distribution.
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 10-26-2010, 09:37 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
replace rhn by yum possible?


hi,

if we have redhat up2date or rhn_register. is there any way we can disable it. and use the yum update the respositries from redhat or centos. if possible what is need to be done the work around

regards
 
Old 10-26-2010, 10:02 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,579
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Not a good idea.

While it is POSSIBLE to use yum an set up any repository you want you really don't want to mix RPMs designed for later RHEL or CentOS on your RHEL4 system. Yum tries to determine dependencies and would likely try to reinstall all your packages because the other repositories wouldn't be based on RHEL4. Even if they installed it is possible your applications wouldn't work.

RHEL4 required use of up2date. Starting with RHEL5 they began using yum.

There are some RPMs built for RHEL4 in the wild (i.e. not on RHN). If you are looking for something specific you might try one of those locations (use rpmfind website or check Dag Wiers website). Alternativey you could download source tar.gz and try to build your own.

If you really want to do a full upgrade you should either do a fresh install of RHEL5 or CentOS5 from install medium. Ideally you should do this on a different server so you can test your applications on that after the install as backing out on the original server would require reinstalling RHEL4 and restoring your last full backup.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
YUM without RHN registration djpme Linux - Newbie 15 05-11-2009 10:31 PM
up2date, rhn, and yum johnMG Fedora 7 07-28-2005 09:18 PM
Rhn Vs. yum update juanb Linux - General 5 09-01-2004 03:07 AM
Yum Vs.Rhn juanb Linux - Enterprise 2 08-31-2004 12:09 PM
Rhn Vs. yum update juanb Linux - Software 1 08-31-2004 03:49 AM


All times are GMT -5. The time now is 04:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration