RE: Installing rpm-build using yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Hi  Roger ,
>  We have only one section owning core in fedore-core.repo.
>
> cat fedora-core.repo
> [core]
> name=Fedora Core $releasever - $basearch
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releas
> ever/$basearch/os/
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/5/x86_6
> 4/os
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/o
> s
> mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releas
> ever
> mirrorlist=http://download.fedora.redhat.com/pub/fedora/linux/core/5/i38
> 6/os
> #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-f
> c5
> #mirrorlist=http://download.fedora.redhat.com/pub/fedora/linux/core/5/x8
> 6_64/os
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
> file:///etc/pki/rpm-gpg/RPM-GPG-KEY
>
>
> And
>
>  # host download.fedora.redhat.com
>
> Host download.fedora.redhat.com not found: 3(NXDOMAIN)
>
>
>  Hi Paul ,
> The output for
>  # grep hosts /etc/nsswitch.conf
>
> #hosts:     db files nisplus nis dns
>
> hosts:      files dns
>
> Thanks & Regards,
>
> Vasantha.
> --

Vasantha,

2 things:

1) Definitively, you have no name-resolution at all. Please show:

'grep /etc/resolv.conf'
and '/sbin/ifconfig'

2) do you have more *.repo-files than the one, perhaps one of them
contains another [core] section. Or if it is an update, perphaps you have
an active entry in /etc/yum.conf?

btw. i think you can comment out this line:
mirrorlist=http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os

its a baseurl to a repo, not a mirrorlist!

HTH
Roger


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux