Yum Errors in parsing, whats wrong here (yum.conf pasted)
ok there are 100+ views and no posts of this thread anyone got any input for me
i just added livna's repositories to my yum and now i am getting the following error [root@localhost jokker]# yum update Traceback (most recent call last): File "/usr/bin/yum", line 30, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum/yummain.py", line 163, in main (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args) File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs conf=yumconf(configfile=yumconffile) File "/usr/share/yum/config.py", line 48, in __init__ self.cfg.read(configfile) File "/usr/lib/python2.3/ConfigParser.py", line 263, in read self._read(fp, filename) File "/usr/lib/python2.3/ConfigParser.py", line 456, in _read raise MissingSectionHeaderError(fpname, lineno, `line`) ConfigParser.MissingSectionHeaderError: File contains no section headers. file: /etc/yum.conf, line: 1 ' [main]\n' now im not a wiz at linux or anything but i know its something i just did to yum, and no i wasnt smart enough to make a backup. but here is my yum file, and if anyone could just skim over it and see what in there is causing all the fuss id be more than grateful. MY YUM FILE [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 [base] name=Fedora Core $releasever - $basearch - Base baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ [updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/ #[updates-testing] #name=Fedora Core $releasever - $basearch - Unreleased Updates #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/ #[development] #name=Fedora Core $releasever - Development Tree #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/ [fedora-us-2] name=Fedora Core 2 -- Fedora US mirror baseurl= ftp://ftp.ussg.iu.edu/pub/linux/fedo...2/i386/RPMS.os http://mirrors.kernel.org/fedora.us/...2/i386/RPMS.os ftp://mirrors.kernel.org/fedora.us/f...2/i386/RPMS.os http://mirrors.usc.edu/pub/linux/fed...2/i386/RPMS.os ftp://mirrors.usc.edu/pub/linux/fedo...2/i386/RPMS.os failovermethod=priority [fedora-us-2-updates] name=Fedora Core 2 updates -- Fedora US mirror baseurl= ftp://ftp.ussg.iu.edu/pub/linux/fedo...6/RPMS.updates http://mirrors.kernel.org/fedora.us/...6/RPMS.updates ftp://mirrors.kernel.org/fedora.us/f...6/RPMS.updates http://mirrors.usc.edu/pub/linux/fed...6/RPMS.updates ftp://mirrors.usc.edu/pub/linux/fedo...6/RPMS.updates failovermethod=priority [fedora-us-2-stable] name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror baseurl= ftp://ftp.ussg.iu.edu/pub/linux/fedo...86/RPMS.stable http://mirrors.kernel.org/fedora.us/...86/RPMS.stable ftp://mirrors.kernel.org/fedora.us/f...86/RPMS.stable http://mirrors.usc.edu/pub/linux/fed...86/RPMS.stable ftp://mirrors.usc.edu/pub/linux/fedo...86/RPMS.stable failovermethod=priority [livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable gpgcheck=1 [livna-unstable] name=Livna.org Fedora Compatible Packages (unstable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable gpgcheck=1 #[livna-testing] #name=Livna.org Fedora Compatible Packages (testing) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing #gpgcheck=1 --------------- oh and no yum will not work if i just remove those 3 livna repositories at the bottom, that would be too easy, tried it anyway, but good idea. the error is the same as the above posted error either way. Thanks for looking people. |
http://www.roguedaemon.com/pub/FC2/yum.conf
this link was given to my in #feodra on irc its a great yum so im passing it along if anyone needs info. problem solved folks |
All times are GMT -5. The time now is 10:01 PM. |