On Mon, 31 Jul 2006 17:50:14 +0530 Pushparaj Shetty wrote: > Dear Friends, > I have a problem with yum command. whenever i give yum command at > root, i get the following fail message > --------------------------------------- > [root@macs_20_252 praj]# yum update > Traceback (most recent call last): > File "/usr/bin/yum", line 29, in ? > yummain.main(sys.argv[1:]) > File "/usr/share/yum-cli/yummain.py", line 80, in main > base.getOptionsConfig(args) > File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig > self.doConfigSetup(fn=opts.conffile, root=root) > File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, > in doConfigSetup > self.getReposFromConfig() > File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, > in getReposFromConfig > parser.read(files) > File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read > IncludingConfigParser.read(self,filename) > File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read > ConfigParser.read(self,filename) > File "/usr/lib/python2.4/ConfigParser.py", line 267, in read > self._read(fp, filename) > File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read > raise MissingSectionHeaderError(fpname, lineno, line) > ConfigParser.MissingSectionHeaderError: File contains no section headers. > file: ///etc/yum.repos.d/macromedia.repo, line: 1 > 'macromedia]\n' The line should read [macromedia] --Frank Elsner