Fedora Linux Support Community & Resources Center
  #1  
Old 7th August 2012, 02:15 PM
linuxgirl01 Offline
Registered User
 
Join Date: Aug 2012
Location: here
Posts: 6
windows_7firefox
rhel 6 yum

Hello,

I am trying to add a .repo to /etc/yum.repos.d for rhel 6 64 bit, but I can't seem to find a good yum url. The last one I tried was this:

name=Red Hat Enterprise Linux $releasever Beta - $basearch
#baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/$releasever/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-$releasever-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
[rhel-beta-optional]
name=Red Hat Enterprise Linux $releasever Beta (Optional) - $basearch
#baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/$releasever/optional/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-optional-$releasever-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


And I keep getting this answer:

yum update
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
rhel-beta/metalink | 24 kB 00:00
Could not parse metalink https://mirrors.fedoraproject.org/me...ta&arch=x86_64 error was
No repomd file
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-beta. Please verify its path and try again


Can you please help me find a good yum mirror?

Thanks in advance!
Reply With Quote
  #2  
Old 7th August 2012, 02:50 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: rhel 6 yum

RHEL6 is a release version so the beta repos have been deleted.
Reply With Quote
  #3  
Old 7th August 2012, 03:02 PM
linuxgirl01 Offline
Registered User
 
Join Date: Aug 2012
Location: here
Posts: 6
windows_7firefox
Re: rhel 6 yum

thanks! so which yum repo should I add instead? can you point me in the right direction? I am new with red hat...thanks.
Reply With Quote
  #4  
Old 7th August 2012, 03:43 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: rhel 6 yum

Quote:
Originally Posted by linuxgirl01 View Post
thanks! so which yum repo should I add instead? can you point me in the right direction? I am new with red hat...thanks.
You need to buy a subscription to use RHEL repos.
Reply With Quote
  #5  
Old 7th August 2012, 06:47 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,976
linuxfirefox
Re: rhel 6 yum

You have a few possibilities--well, a couple, anyway.

CentOS and ScientificLinux are free and very close to RHEL. At work, many places use one of those rather than the (somewhat expensive) RedHat subscriptions--that is, anything that includes support can be expensive, and while the self-support is affordable, it's just as easy to use CentOS or ScientificLinux. (There's also Oracle Linux, but I have no experience with its free version.)

So, as Yellowman says, to use RedHat, you have to purchase a subscription. Note the part of your message
Quote:
This system is not registered with RHN.
RHN support will be disabled.
CentOS has a wiki that discusses, among other things, various repos--you can just look through wiki.centos.org in the HowTos for the packaging section.

Holy Mackerel!! 25 guests are viewing this thread right now? I feel....as if I'm being watched.

Last edited by smr54; 7th August 2012 at 09:45 PM.
Reply With Quote
  #6  
Old 7th August 2012, 07:19 PM
linuxgirl01 Offline
Registered User
 
Join Date: Aug 2012
Location: here
Posts: 6
windows_7firefox
Re: rhel 6 yum

Thanks for your answers - I am studying RedHat and prefered to stick to it for the exercises, but if I dont manage to install packages, I might really move to CentOs.

Anyways, for the studies, I received a disk with RHEL installation (which should work for a month or so), it also came with the RPM packages, but I still didnt manage to install anything with those RPMs because every time I try it tells me that the user mock (needed for RPM installs) is missing - and when I try to install mock with yum, well, I obviously can't as there is no .repo yum configured

I come as simple Ubuntu user world and not much of a clue in RedHat world, hope to find my way soon hehhehe

Another question - can't I add Centos YUM repositories to RHEL 6?

Last edited by linuxgirl01; 7th August 2012 at 07:24 PM.
Reply With Quote
  #7  
Old 7th August 2012, 07:23 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: rhel 6 yum

Quote:
Originally Posted by smr54 View Post
You have a few possibilities--well, a couple, anyway.

CentOS and ScientificLinux are free and very close to RHEL. At work, many places use one of those rather than the (somewhat expensive) RedHat subscriptions--that is, anything that includes support can be expensive, and while the self-support is affordable, it's just as easy to use CentOS or ScientificLinux. (There's also Oracle Linux, but I have no experience with its free version.)

So, as Yellowman says, to use RedHat, you have to purchase a subscription. Note the part of your message


CentOS has a wiki that discusses, among other things, various repos--you can just look through wiki.centos.org in the HowTos for the packaging section.

Holy Mackeral!! 25 guests are viewing this thread right now? I feel....as if I'm being watched.
As an EPEL packager I'm entitled to free subscription but never felt the need to take up the offer as SL6 or Centos are close enough to test my packages.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which ver of FC is most like RHEL 5? orignaltraveler Linux Chat 3 10th January 2009 12:17 AM
RHEL 4 much different then RHEL 3? ltam Linux Chat 7 1st May 2006 08:03 PM
yum for RHEL ogross74 Using Fedora 7 16th September 2005 05:00 PM


Current GMT-time: 06:51 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat