Re: /usr/bin/yum
From: John Sutherland (fedora_at_sneeu.com)
Date: 02/09/04
- Previous message: Naoki: "Upgrading from 9 using only 'up2date'."
- In reply to: amazing powers of observation: "/usr/bin/yum"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: fedora-list@redhat.com Date: Mon, 09 Feb 2004 02:14:08 -0700
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'
>
>
# $Id: yum-fd.conf,v 1.2 2003/11/13 13:07:34 dude Exp $
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
gpgcheck=1
tolerant=1
exactarch=1
[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
#[extras]
#name=Fedora Linux $releasever - $basearch - extras
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras
#[alternatives]
#name=Fedora Linux $releasever - $basearch - alternatives
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/alternatives
[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Naoki: "Upgrading from 9 using only 'up2date'."
- In reply to: amazing powers of observation: "/usr/bin/yum"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|