[Centos] Yum error

Richard Heldmann
Sun, 06 Mar 2005 20:49:40 -0000

I get the following error.  Any ideas?


[root@localhost ~]# yum update
Traceback (most recent call last):
  File "/usr/bin/yum", line 7, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 51, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 145, in getOptionsConfig
    self.conf = yumconf(configfile = conffile, root = root)
  File "config.py", line 329, in __init__
  File "config.py", line 394, in _doFileRepo
  File "/usr/lib/python2.3/ConfigParser.py", line 280, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.3/ConfigParser.py", line 484, in _read
    raise e
ConfigParser.ParsingError: File contains parsing errors:
file://///etc/yum.repos.d/CentOS-Base.repo
        [line 31]: ''contribs - packages by Centos Users\n''
        [line 38]: ''packages in testing\n''