/etc/yum.repos.d/下添加:
上海交大Fedora 14 更新源,新建sjtu.repo
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 14 – i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[Everything-ftp.sjtu.edu.cn]
name=Everything 14 – i386
baseurl=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
[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/14/i386/
enabled=1
gpgcheck=0
网易163,新建163.repo
[Fedora-mirrors.163.com]
name=Fedora 14 – i386
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-mirrors.163.com]
name=Everything 14 – i386
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-mirrors.163.com]
name=Fedora updates
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
添加完文件之后执行
su
yum makecache