bokee.net

大学生博客

正文 更多文章

FC 9 yum无法更新

     由于,yum无法安装工具,更新yum也失败。发现/etc/yum.repo下文件贼多,删除其他只保留fedora.repo,fedora-updates.repo,fedora-development.repo三个文件!(个人做法,问题解决)

fedora.repo

代码:

[fedora] name=Fedora $releasever - $basearch failovermethod=priority baseurl= .au/linux/fedora/linux/releases/$releasever/Everything/$basearch/os/ http://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/ /fedora/linux/releases/$releasever/Everything/$basearch/os/ /fedora/releases/$releasever/Everything/$basearch/os/ /pub/fedora/linux/releases/$releasever/Everything/$basearch/os/ #mirrorlist=/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= .au/linux/fedora/linux/releases/$releasever/Everything/$basearch/debug/ http://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/debug/ /fedora/linux/releases/$releasever/Everything/$basearch/debug/ /fedora/releases/$releasever/Everything/$basearch/debug/ /pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/ #mirrorlist=/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= .au/linux/fedora/linux/releases/$releasever/Everything/source/SRPMS/ http://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/source/SRPMS/ /fedora/linux/releases/$releasever/Everything/source/SRPMS/ /fedora/releases/$releasever/Everything/source/SRPMS/ /pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/ #mirrorlist=/mirrorlist?repo=fedora-source-$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-updates.repo
代码:

[updates] name=Fedora $releasever - $basearch - Updates failovermethod=priority baseurl= .au/linux/fedora/linux/updates/$releasever/$basearch/ http://ftp.iij.ad.jp/pub/linux/fedora/updates/$releasever/$basearch/ /fedora/linux/updates/$releasever/$basearch/ /fedora/updates/$releasever/$basearch/ /pub/fedora/linux/updates/$releasever/$basearch/ #mirrorlist=/mirrorlist?repo=updates-released-f$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-debuginfo] name=Fedora $releasever - $basearch - Updates - Debug failovermethod=priority baseurl= .au/linux/fedora/linux/updates/$releasever/$basearch/debug/ http://ftp.iij.ad.jp/pub/linux/fedora/updates/$releasever/$basearch/debug/ /fedora/linux/updates/$releasever/$basearch/debug/ /fedora/updates/$releasever/$basearch/debug/ /pub/fedora/linux/updates/$releasever/$basearch/debug/ #mirrorlist=/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-source] name=Fedora $releasever - Updates Source failovermethod=priority baseurl= .au/linux/fedora/linux/updates/$releasever/SRPMS/ http://ftp.iij.ad.jp/pub/linux/fedora/updates/$releasever/SRPMS/ /fedora/linux/updates/$releasever/SRPMS/ /fedora/updates/$releasever/SRPMS/ /pub/fedora/linux/updates/$releasever/SRPMS/ #mirrorlist=/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

fedora-development.repo
代码:

# These packages are untested and still under development. This # repository is used for updates to test releases, and for # development of new releases. # # This repository can see significant daily turnover and major # functionality changes which cause unexpected problems with other # development packages. Please use these packages if you want to work # with the Fedora developers by testing these new development packages. # # fedora-test-list@ is available as a discussion forum for # testing and troubleshooting for development packages in conjunction # with new test releases. # # More information is available at /wiki/Testing # # Reproducible and reportable issues should be filed at # /. # # Product: Fedora # Version: devel [development] name=Fedora - Development failovermethod=priority baseurl= .au/linux/fedora/linux/development/$basearch/os/ http://ftp.iij.ad.jp/pub/linux/fedora/development/$basearch/os/ /pub/fedora/linux/development/$basearch/os/ #mirrorlist=/mirrorlist?repo=rawhide&arch=$basearch enabled=0 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [development-debuginfo] name=Fedora - Development - Debug failovermethod=priority baseurl= .au/linux/fedora/linux/development/$basearch/debug/ http://ftp.iij.ad.jp/pub/linux/fedora/development/$basearch/debug/ /pub/fedora/linux/development/$basearch/debug/ #mirrorlist=/mirrorlist?repo=rawhide-debug&arch=$basearch enabled=0 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [development-source] name=Fedora - Development - Source failovermethod=priority baseurl= .au/linux/fedora/linux/development/source/SRPMS/ http://ftp.iij.ad.jp/pub/linux/fedora/development/source/SRPMS/ /pub/fedora/linux/development/source/SRPMS/ #mirrorlist=/mirrorlist?repo=rawhide-source&arch=$basearch enabled=0 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
分享到:

上一篇:

下一篇:NT_STATUS_LOGON_FA