LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-29-2006, 03:44 PM   #1
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Rep: Reputation: 15
Yum repos on RH 7.3


Ok im sure this will be a quick and easy question for you all. I have freshrpms repository installed on my works RH 7.3 box. I noticed the .repo file ended up in the yum.repos.d folder and when I run yum commands I dont see the "freshrpms" name come up on the screen, only a redhat and fedoralegacy (which Im going to get rid of when I get freshrpms working). so my question is that now its installed how do I get it working right?

Thank you for all the help
 
Old 11-29-2006, 03:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
can you actually show us the contents of the repo file?
 
Old 11-29-2006, 03:52 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Might as well remove yum and all the repos after the end of this year, from the fedoralegacy site (the very last place that still supports RHL7.3 barely);

For Red Hat Linux 7.3 and 9, new issues (bugs) will be accepted until October 1st of this year (2006). No new bugs will be accepted after that date. All existing bugs will be resolved to the best of our ability by December 31st of this year. What hasn't been completed by then will not be completed by the Fedora Legacy Project. This will be the complete end of Fedora Legacy's support of the Red Hat Linux line of distributions. We will continue focusing our efforts on the Fedora Core line, and improving our integration with the Fedora Project in whole.




RHL7.3 is not supported by freshrpms any longer and has not been for a few years now.
 
Old 11-29-2006, 04:06 PM   #4
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Im not sure which one you wanted to see so ill show you what I got.
This one is the yum.conf


[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exactarch=1

[base]
name=Red Hat Linux $releasever base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
gpgcheck=1

[updates]
gpgcheck=1
name=Red Hat $releasever updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
gpgcheck=1

[updates-testing]
name=Red Hat Linux $releasever updates-testing
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates-testing/$bas
earch

[legacy-utils]
name=Fedora Legacy utilities for Red Hat Linux $releasever
baseurl=http://download.fedoralegacy.org/redhat/$releasever/legacy-utils/$basearch
gpgcheck=1



below is the freshrpms repo

[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1


should I just stick with freshrpms or should I do one more repository? is rpmforge any good? any recomendations?

Thank you both for the help
 
Old 11-29-2006, 04:41 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
well yeah as above really... you've got a fedora yum repo there, not a redhat one... doesn't even say anythign aboub redhat in the file at any point...
 
Old 11-29-2006, 04:49 PM   #6
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Well yea its fedora legacy but if you look at the addresses they show "/redhat/" in the link so wouldnt it classify as a redhat repo? Im just wondering cuz I am actually still new to linux.

Can you see any reason why my freshrpms one doesnt work? Im assuming it doesnt work just because it doesnt show "freshrpms" when i run yum which if I recall correctly it should diplsy.
 
Old 11-30-2006, 05:29 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
From: http://freshrpms.net/packages/

# Red Hat Linux add-on packages (sorry, fancy interfaces are gone since these are now unsupported)

If you want/need something for RHL7.3 from freshrpms follow the link. Since RHL7.3 is unsupported your on your own to manage. If you feel like it grab all the rpm packages and place them in a common location and use createrepo to create a local mirror. Warning this will take time and effort.
 
Old 11-30-2006, 12:24 PM   #8
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Now with that link is that something I can put in my yum or do I jsut download right off the site? I know I can download off the site but was just wondering if I could put it in my .conf file for conveniance or does it just not work that way?

Thank you for your help so much I greatly appreciate it
 
Old 11-30-2006, 12:49 PM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
It will not work, no repodata files to use for downloading/installation via yum. You have to either download and install or build you own local repo.
 
Old 11-30-2006, 01:04 PM   #10
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
well since I am still somewhat of a n00b I think ill leave building a repo to the pros so I guess that just means I download/install manualy. No problem though having an option is better then havin no options. Thank you very much lenard for the help.
 
Old 11-30-2006, 01:40 PM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by crazy8
well since I am still somewhat of a n00b I think ill leave building a repo to the pros so I guess that just means I download/install manualy. No problem though having an option is better then havin no options. Thank you very much lenard for the help.
I think it would be a lot easier for you to get rid of RH 7.3 and install Fedora Core 6. RH 7.3 is obviously not supported by Redhat anymore and the volunteers and Fedora legacy won't be supporting it at the end of this year. Fedora Core is still actively being developed and has a lot new features when compared to RH 7.3.
 
Old 11-30-2006, 02:10 PM   #12
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Creating a local repo is not as hard as you think. Download and install the createrepo rpm file;

http://dag.wieers.com/packages/creat....rf.noarch.rpm

Place all the rpms you want or think you might need into one common directory, lets say FreshRPMS and do from this location; createrepo /FreshRPMS

Then create a local yum repo file or addon to your existing file which points to the FreshRPMS directory, example;

[FreshRPMS]
name=Red Hat-$releasever - Media
baseurl=file:///FreshRPMS
gpgcheck=0
enabled=0


FYI: if you noticed where the createrepo rpm file is from (Dag Wieers site) it might be a good idea to use Dag's site as another source for rpm files;

http://dag.wieers.com/home-made/apt/FAQ.php#B

Both Scientific Linux and CentOS make excellent replacements for RHL7.3 BTW, they are actively supported and the 3<something> series are basically clones of RHEL3 (close to RHL9). Much more stable and secure then RHL7.3 and without the constant updating of FC6.

https://www.scientificlinux.org/
http://www.centos.org/

.
 
Old 11-30-2006, 03:23 PM   #13
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Well my boss wanted me to install the RH 7.3 on a box becuase its a sytem for me to "play with and see what I can do with it" as he said but most of all he needed something that will install in the ext3 format and would allow him to install a program called BASIS Pro5. He was showing me what this software can do and even though I didnt catch all of it seems to me that its a backend program that all computers on th enetwork use and it also is responsable for some website page generation and stuff. Anyway I did tell him about centOS a little bit and the only thing he had mentioned was that he goes through a company for support and if we choose to do anything with this box as some sort of server or whatever he wants to make sure that the down time is very breif and that the distro of linux is one that this "support compnay" will support. Any thoughts?

Even though the software he needed is already installed maybe its not to late to persuade him...

I will look into the repo stuff. Thank you so much for going over and beyond, maybe it is something I can do. Thank you again for your help and if I choose to do it I will let you know how it goes. Thanks again so much.
 
Old 11-30-2006, 03:31 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
outside of contract fineprints, centos *IS* redhat, from a technical side that is. no good reason at all to ever install redhat 7.3 again - it's old, it won't support new hardware with using non-offical (non-supported) kernels and such like... it's one thing being left with legacy systems, but knowlgly starting off with one is just stupid.
 
Old 11-30-2006, 03:47 PM   #15
crazy8
Member
 
Registered: Nov 2006
Posts: 132

Original Poster
Rep: Reputation: 15
Well i tried to run the command to add the dag wieers to my repo and it went as far as getting the RPM but then I got a - transfer failed - unkown or expected error
 
  


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 Repos Needed coolguy_iiit Linux - Newbie 1 07-30-2006 01:51 PM
YUM repos in fc5 mbrown Linux - Software 1 04-07-2006 10:45 PM
Yum and Apt-get Repos Dirty_Ink Fedora 2 09-15-2005 10:34 PM
Need yum repos with php 4.3.11 ericcarlson Fedora 1 05-30-2005 08:48 AM
Which yum repos for Redhat 9? yonatan1 Red Hat 1 03-26-2005 08:26 AM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration