Привет,
Я пытаюсь установить oVirt 4.2 на свой компьютер с CentOS 7.4.
К сожалению, ням продолжает говорить мне, что не может найти http://mirror.centos.org/centos/7/sclo/x86_64/rh/repodata/repomd.xml.asc:
на единственном зеркале для centos-sclo-rh-release
.
Не думаю, что я что-то забыл на официальный документ. Итак, я сделал это:
Вот точная копия того, что мне сказал yum:
[root@jupiter admin]# yum update Modules complémentaires chargés : fastestmirror base/7/x86_64/signature | 811 B 00:00:00 base/7/x86_64/signature | 3.6 kB 00:00:00 !!! http://mirror.centos.org/centos/7/sclo/x86_64/rh/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found Essai d'un autre miroir. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/. centos-sclo-rh-release | 3.0 kB 00:00:00 One of the configured repositories failed (CentOS-7 - SCLo rh), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=centos-sclo-rh-release ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable centos-sclo-rh-release or subscription-manager repos --disable=centos-sclo-rh-release 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=centos-sclo-rh-release.skip_if_unavailable=true failure: repodata/repomd.xml.asc from centos-sclo-rh-release: [Errno 256] No more mirrors to try. http://mirror.centos.org/centos/7/sclo/x86_64/rh/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
РЕДАКТИРОВАТЬ: Итак, вот содержимое моего файла ovirt-4.2-зависимостей.repo, который содержит centos-sclo-rh-release:
[admin@jupiter ~]$ cat /etc/yum.repos.d/ovirt-4.2-dependencies.repo [ovirt-4.2-epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 includepkgs= epel-release, ioprocess, libtomcrypt, libtommath, ovirt-guest-agent*, puppet, python2-crypto, python2-ecdsa, python2-paramiko, python34*, python-argparse, python-ecdsa, python-ioprocess, python-ordereddict, python-paramiko, python-ply, rubygem-rgen, nbdkit, nbdkit-devel gpgcheck=1 gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 [ovirt-4.2-centos-gluster312] name=CentOS-7 - Gluster 3.12 baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.12/ gpgcheck=1 enabled=1 gpgkey=https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage [ovirt-4.2-virtio-win-latest] name=virtio-win builds roughly matching what will be shipped in upcoming RHEL baseurl=http://fedorapeople.org/groups/virt/virtio-win/repo/latest enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-4.2-centos-qemu-ev] name=CentOS-7 - QEMU EV baseurl=http://mirror.centos.org/centos/7/virt/$basearch/kvm-common/ gpgcheck=1 enabled=1 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization [ovirt-4.2-centos-opstools] name=CentOS-7 - OpsTools - release baseurl=http://mirror.centos.org/centos/7/opstools/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-OpsTools [centos-sclo-rh-release] name=CentOS-7 - SCLo rh baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/ gpgcheck=1 enabled=1 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo [ovirt-4.2-centos-ovirt42] name=CentOS-7 - oVirt 4.2 baseurl=http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.2/ gpgcheck=1 enabled=1 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization
Ладно, похоже, я выбрал слишком строгую политику безопасности в процессе установки. Чтобы решить эту проблему, мне пришлось установить
repo_gpgcheck=1back to
repo_gpgcheck=0in
/etc/yum.conf
.