I think scottmutz has the solution! Thanks scott! gedit /etc/yum.conf then add the line http_caching=packages My yum.conf now shows: [main] # next line (re http_caching) added by LJ to fix Error1 Metadata doesn't match ... on 6/14/06 http_caching=packages cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d
yum clean metadata
ตอบลบI think scottmutz has the solution! Thanks scott!
ตอบลบgedit /etc/yum.conf
then add the line
http_caching=packages
My yum.conf now shows:
[main]
# next line (re http_caching) added by LJ to fix Error1 Metadata doesn't match ... on 6/14/06
http_caching=packages
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d