Tôi gặp khó khăn khi làm bất cứ điều gì với yum trên Fedora 16. Đây là đầu ra tôi nhận được:
[user@mycomputer yum-3.4.3]$ sudo yum update
[sudo] password for user:
Loaded plugins: langpacks, presto, priorities, refresh-packagekit
adobe-linux-x86_64 | 39 B 00:00 ...
http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for adobe-linux-x86_64: Damaged repomd.xml file
Trying other mirror.
fedora | 39 B 00:00 ...
http://download.fedoraproject.org/pub/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for fedora: Damaged repomd.xml file
Trying other mirror.
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Protocol mismatch./
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/16/rpmfusion-free/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Protocol mismatch./
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/16/rpmfusion-free-updates/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Protocol mismatch./
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/16/rpmfusion-nonfree/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Protocol mismatch./
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/16/rpmfusion-nonfree-updates/mirrorlist.txt
updates | 39 B 00:00 ...
http://download.fedoraproject.org/pub/fedora/linux/updates/16/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.
adobe-linux-x86_64 | 39 B 00:00 ...
http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for adobe-linux-x86_64: Damaged repomd.xml file
Trying other mirror.
Error: failure: repodata/repomd.xml from adobe-linux-x86_64: [Errno 256] No more mirrors to try
Và đây là nội dung của /etc/yum.conf:
[user@mycomputer yum-3.4.3]$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
proxy=http://xx.xx.xx.xx:xxxx
PROXY_USERNAME=user
PROXY_PASSWORD=password
Và đây là nội dung của /etc/yum.repos.d/fedora.repo:
[user@mycomputer yum-3.4.3]$ cat /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Có ai có bất kỳ ý tưởng cho cách khắc phục điều này?