[rhelv6-beta-list] question about yum
Gary Gatling
gsgatlin at ncsu.edu
Thu Jul 1 19:16:03 UTC 2010
Thank you. I tried changing enabled=0 to enabled=1 on line 5. I get this
error now: (eos is my own repo I made to hold rpms in)
I did a yum clean all before I ran this.
[root at vaporware ~]# yum install gconf-editor
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
eos | 951 B
00:00
eos/primary | 6.7 kB
00:00
eos
24/24
rhel-beta/metalink | 14 kB
00:00
Could not parse metalink
https://mirrors.fedoraproject.org/metalink?repo=rhel-5.90Workstation-beta&arch=x86_64
error was
File /var/cache/yum/x86_64/5.90Workstation/rhel-beta/metalink.xml.tmp is
not XML
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
rhel-beta. Please verify its path and try again
Any ideas what is going on with that?
I'm just wanting to use yum because its easier than getting out the DVD
and using the rpm command.
Thanks,
Gary Gatling | ITECS Systems
ITECS, BOX 7901 | Operations and Systems Analyst
NCSU, Raleigh, NC | Email: gsgatlin at ncsu.edu
27695-7901 | Phone: (919) 513-4572 (5C Page Hall)
On Thu, 1 Jul 2010, Morten P.D. Stevens wrote:
>> -----Original Message-----
>> From: rhelv6-beta-list-bounces at redhat.com [mailto:rhelv6-beta-list-
>> bounces at redhat.com] On Behalf Of Gary Gatling
>> Sent: Thursday, July 01, 2010 8:01 PM
>> To: rhelv6-beta-list at redhat.com
>> Subject: [rhelv6-beta-list] question about yum
>>
>>
>> Hello,
>>
>> I have installed a RHEL 6 beta 2 test system but yum doesn't seem to
>> work.
>>
>> On a RHEL 6 beta 1 system, I can run:
>>
>> yum install gconf-editor
>>
>> and I get the package installed from the rhel-beta repository.
>>
>> In RHEL 6 beta 2, when I try the exact same command I get:
>>
>> [root at vaporware ~]# yum install gconf-editor
>> Loaded plugins: refresh-packagekit, rhnplugin
>> This system is not registered with RHN.
>> RHN support will be disabled.
>> Setting up Install Process
>> No package gconf-editor available.
>> Error: Nothing to do
>>
>> Why can't I install a package via yum in beta 2?
>>
>> It looks like there is a /etc/yum.repos.d/rhel-beta.repo file.
>>
>> Thanks for any ideas anyone has.
>
> Hi Gary,
>
> the rhel-beta repo is disabled by default.
> You have to enable it.
>
> /etc/yum.repos.d/rhel-beta.repo
>
> [rhel-beta]
> 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
>
> yum-update and it should work :)
>
> Best regards,
>
> Morten
>
> _______________________________________________
> rhelv6-beta-list mailing list
> rhelv6-beta-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-beta-list
>
More information about the rhelv6-beta-list
mailing list