Fedora9 method of exchanging source

Source: Internet
Author: User

Original address: HTTP://HI.BAIDU.COM/EDW200/ITEM/80F758302A569583F5E4ADD2

Read the suggestions at the end of the article ...

Modify three files in the/etc/yum.repos.d file, and then execute #yum clean all #yum update

Three documents are as follows:

Fedora.repo

[Fedora]

Name=fedora $releasever-$basearch

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/everything/$basearch/os/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/i386/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386.newkey/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/ppc.newkey/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/ppc/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/repodata/

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$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

[Fedora-debuginfo]

Name=fedora $releasever-$basearch-debug

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/everything/$basearch/debug/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/ppc/debug/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386/debug/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386.newkey/debug/

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever &arch= $basearch

Enabled=0

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora File:///etc/pki/rpm-gpg/RPM-GPG-KEY

[Fedora-source]

Name=fedora $releasever-source

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/everything/source/srpms/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/source.newkey/srpms/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/source/SRPMS/

Mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch= $basearch

Fedora-updates.repo

[Updates-testing]

Name=fedora $releasever-$basearch-test Updates

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/testing/$releasever/$basearch/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/i386/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386.newkey/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/ppc.newkey/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/ppc/os/

Mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch= $basearch

Enabled=0

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-test

[Updates-testing-debuginfo]

Name=fedora $releasever-$basearch-test Updates Debug

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/testing/$releasever/$basearch/debug/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/ppc/debug/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386/debug/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386.newkey/debug/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/repodata/

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f$releasever&arch=$ Basearch

Enabled=0

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-test

[Updates-testing-source]

Name=fedora $releasever-test Updates Source

Failovermethod=priority

#baseurl =http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/testing/$releasever/srpms/

baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/everything/source.newkey/srpms/

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/source/SRPMS/

Mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch= $basearch

http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/9/i386/repodata/

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f$releasever&arch=$ Basearch

Enabled=0

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-test

Fedora-rawhide.repo

# These packages are untested and still under development. This

# repository is used for development of new releases.

#

# This repository can-significant daily turnover and major

# functionality changes which cause unexpected problems with

# development Packages. Please use this packages if you are want to work

# with the Fedora developers by testing the new development packages.

#

# fedora-test-list@redhat.com is available as a discussion forum for

# Testing and troubleshooting for development packages in conjunction

# with new test releases.

#

# More information are available at http://fedoraproject.org/wiki/Testing

#

# reproducible and reportable issues should is filed at

# http://bugzilla.redhat.com/.

#

# Product:fedora

# Version:rawhide

[Rawhide]

Name=fedora-rawhide

Failovermethod=priority

#baseurl =http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/

Baseurl=http://archives.fedoraproject.or

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.