Saya mengalami kesulitan melakukan apa saja dengan yum di Fedora 16. Ini adalah output yang saya dapatkan:
[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
Dan inilah isi dari /etc/yum.conf saya:
[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
Dan inilah isi dari /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
Adakah yang punya ide untuk memperbaikinya?
wget http://download.fedoraproject.org/pub/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml
Saya membuatnya bekerja dengan menambahkan tag proxy di
yum.conf
file saya yang awalnya hilang.sumber
Buka yum.conf
Tambahkan tag "proxy" terakhir
Simpan dan tutup. Ini seharusnya bekerja.
sumber
VLC bukan repositori pra-instal pada Fedora 20-23.
Jika Anda menginstal repositori rilis mereka di komputer Anda, cobalah untuk menghapusnya dan uji unduh lagi. Setelah Anda menginstal aplikasi vlc, hapus saja repositori yang belum selesai.
Semuanya akan baik-baik saja setelah Anda menghapus repositori fusi tidak efisien itu.
sumber
Gunakan ini:
sumber