/usr/bin/yum
John Sutherland
fedora at sneeu.com
Mon Feb 9 09:14:08 UTC 2004
I'm not Python expert, but it looks like maybe the config is broken
rather than yum... check your /etc/yum.conf - I've attached mine.
John S.
amazing powers of observation wrote:
> anyone give me cut n paste copy to these files ?
>
>
>
> File "/usr/bin/yum", line 30, in ?
> yummain.main(sys.argv[1:])
> File "/usr/share/yum/yummain.py", line 152, in main
> (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
> File "/usr/share/yum/yummain.py", line 71, in parseCmdArgs
> conf=yumconf(configfile=yumconffile)
> File "/usr/share/yum/config.py", line 48, in __init__
> self.cfg.read(configfile)
> File "/usr/lib/python2.2/ConfigParser.py", line 233, in read
> self.__read(fp, filename)
> File "/usr/lib/python2.2/ConfigParser.py", line 444, in __read
> raise MissingSectionHeaderError(fpname, lineno, `line`)
> ConfigParser.MissingSectionHeaderError: File contains no section
> headers.
> file: /etc/yum.conf, line: 1
> 'This is a yum.conf for Fedora Core.\n'
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: yum.conf
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040209/c72c5b75/attachment-0001.conf>
More information about the fedora-list
mailing list