I tried to
- yum clean metadata
- yum clean all
- yum update
and got errors:[root@cvlcc ~]# yum clean medadata
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
usage: yum [options] < update | install | info | remove | list |
clean | provides | search | check-update | groupinstall |
groupupdate | grouplist | groupinfo | groupremove |
makecache | localinstall | erase | upgrade | whatprovides |
localupdate | resolvedep | shell | deplist >
options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
--exclude=[package] exclude package(s) by name or glob
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@cvlcc ~]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Cleaning up Everything
0 headers removed
0 packages removed
1 metadata files removed
0 cache files removed
0 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@cvlcc ~]# yum update ==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
//var/cache/yum/smeaddons/repomd.xml:1: parser error : Space required after the Public Identifier
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
^
//var/cache/yum/smeaddons/repomd.xml:1: parser error : SystemLiteral " or ' expected
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
^
//var/cache/yum/smeaddons/repomd.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
^
//var/cache/yum/smeaddons/repomd.xml:8: parser error : Opening and ending tag mismatch: img line 8 and a
O=A">Size</a> <hr><a href="/linux/"><img src="/icons/back.gif" alt="[DIR]"></a>
^
//var/cache/yum/smeaddons/repomd.xml:9: parser error : Opening and ending tag mismatch: img line 9 and a
<a href="contribs/"><img src="/icons/folder.gif" alt="[DIR]"></a> <a href="contr
^
//var/cache/yum/smeaddons/repomd.xml:10: parser error : Opening and ending tag mismatch: img line 10 and a
<a href="releases/"><img src="/icons/folder.gif" alt="[DIR]"></a> <a href="relea
^
//var/cache/yum/smeaddons/repomd.xml:11: parser error : Opening and ending tag mismatch: img line 11 and a
<a href="readme.txt"><img src="/icons/text.gif" alt="[TXT]"></a> <a href="readme
^
//var/cache/yum/smeaddons/repomd.xml:12: parser error : Opening and ending tag mismatch: hr line 12 and pre
<hr></pre>
^
//var/cache/yum/smeaddons/repomd.xml:14: parser error : Opening and ending tag mismatch: a line 11 and body
</body></html>
^
//var/cache/yum/smeaddons/repomd.xml:14: parser error : Opening and ending tag mismatch: a line 10 and html
</body></html>
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag a line 9
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag a line 8
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag hr line 8
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag img line 8
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag pre line 8
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag body line 6
^
//var/cache/yum/smeaddons/repomd.xml:15: parser error : Premature end of data in tag html line 2
^
smeaddons 100% |=========================| 1.0 kB 00:00
http://mirror.contribs.org/pub/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for smeaddons: Error: could not parse file //var/cache/yum/smeaddons/repomd.xml
Trying other mirror.
Cannot open/read repomd.xml file for repository: smeaddons
failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@cvlcc ~]#