Fedora15 source update Problems

Source: Internet
Author: User
After the installation of Fedora15 found a problem, Is yum installation always appear HTTPError404 and other problems, see: [root@www.linuxidc.comyum.repos.d] # yumsearchopensshLoadedplugins: langpacks, presto, refresh-packagekithttp: // uninstall

After Fedora 15 is installed, an issue is found, that is, HTTP Error 404 is always encountered during yum installation. For details, refer:

[Root@www.linuxidc.com yum. repos. d] # yum search openssh
Loaded plugins: langpacks, presto, refresh-packagekit
Pipeline [Errno 14] HTTP Error 404-Not Found: http://repos.fedorapeople.org/repos/spot/firefox4/fedora-15/i386/repodata/repomd.xml
Trying other mirror.
Pipeline [Errno 14] HTTP Error 404-Not Found: http://repos.fedorapeople.org/repos/spot/firefox4/fedora-15/i386/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd. xml) for repository: fedora-firefox4. Please verify its path and try again

Then I simply replaced all the sources and found some sources of the education network, such as the Shanghai Jiao Tong University.

To prevent this, back up the original source:

[Root@www.linuxidc.com etc] # mkdir yum. repo. bak

[Root@www.linuxidc.com etc] # mv yum. repos. d/* yum. repo. bak/

Create a source file *. repo

[Root@www.linuxidc.com yum. repos. d] # vim sjtu. repo
Paste the following content:

Fedora-ftp.sjtu.edu.cn
Name = Fedora 15-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/15/Fedora/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file: // etc/pki/rpm-gpg/RPM-GPG-KEY
Everything-ftp.sjtu.edu.cn
Name = Everything 15-i386
Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Everything/i386/ OS/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file: // etc/pki/rpm-gpg/RPM-GPG-KEY
Updates-ftp.sjtu.edu.cn
Name = Fedora updates
Base url = http://ftp.sjtu.edu.cn/fedora/linux/updates/15/i386/
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file: // etc/pki/rpm-gpg/RPM-GPG-KEY

After saving and exiting, run the source update command.

[Root@www.linuxidc.com yum. repos. d] # yum update

Fast updatePowerful, up to M/s

Related Article

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.