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