LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum error report for repo: updates - fedora 6 (https://www.linuxquestions.org/questions/linux-software-2/yum-error-report-for-repo-updates-fedora-6-a-762077/)

noamhr 10-15-2009 07:36 AM

yum error report for repo: updates - fedora 6
 
Hi all,

I am using fedora 6.
When using yum install tftp-server i got this error:
Error: Cannot find a valid baseurl for repo: updates

my yum.conf is:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1

plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d



my fedora-core is:
[core]
name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


my fedora-updates is:
[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


the only you commands that work is version (3.0)


my fedora extra is:
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

Can anyone advice? Please

pixellany 10-15-2009 07:41 AM

Fedora 6 is pretty old, but I don't know if that relates to your issue.

I would simply upgrade to something more current.

knudfl 10-15-2009 01:56 PM

If you want to use the old Fedora 6, links must be
changed to "the old archive".
The " baseurl= " + " mirrorlist= " adresses, you list
were valid until about January 2008.

Example i386 address :
http://archives.fedoraproject.org/pu...ore/6/i386/os/
.....

lazlow 10-15-2009 02:35 PM

Be aware that FC6 is no longer supported. Support for it was dropped coming up on three years ago, there have been no updates since that time.

If you really liked FC6 you may want to consider switching to Centos5.X. Centos is RHEL with the logos removed. RHEL5.X(and thus Centos5.X) were based on FC6. RHEL/Centos5.X will have support until 2014.


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