I am new person, come from Debian world to Redhat like system.
What I did:
- Downloaded CentOS 7 and installed in VirtualBox
- Made command and got error
Code: Select all
yum update
Code: Select all
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
Code: Select all
[root@localhost ~]# curl http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
<revision>1604001756</revision>
<data type="group">
<checksum type="sha256">cca56f3cffa18f1e52302dbfcf2f0250a94c8a37acd8347ed6317cb52c8369dc</checksum>
<location href="repodata/cca56f3cffa18f1e52302dbfcf2f0250a94c8a37acd8347ed6317cb52c8369dc-c7-x86_64-comps.xml"/>
<timestamp>1604001780</timestamp>
<size>744670</size>
</data>
<data type="filelists">
<checksum type="sha256">5319616dde574d636861a6e632939f617466a371e59b555cf816cf1f52f3e873</checksum>
<open-checksum type="sha256">31d415a3a6e062a7f613729b736ff64dfe8dc5abaede7952e95f98540726ea76</open-checksum>
<location href="repodata/5319616dde574d636861a6e632939f617466a371e59b555cf816cf1f52f3e873-filelists.xml.gz"/>
<timestamp>1604001766</timestamp>
<size>7474108</size>
<open-size>108133174</open-size> ....
System info
Code: Select all
[root@localhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"