Re: /usr/bin/yum

From: John Sutherland (fedora_at_sneeu.com)
Date: 02/09/04

  • Next message: roger2: "Re: Vncviewer won't start"
    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
    

  • Next message: roger2: "Re: Vncviewer won't start"

    Relevant Pages

    • Re: Spartan-3 configuration -- peculiar problem
      ... >John Larkin wrote: ... >>>doesn't use the INIT pin either. ... >>> after config, but it persists as an output. ...
      (comp.arch.fpga)
    • Re: Spartan-3 configuration -- peculiar problem
      ... >>John Larkin wrote: ... >>> Does the INIT thing matter? ... >>doesn't use the INIT pin either. ... >> after config, but it persists as an output. ...
      (comp.arch.fpga)
    • Re: No-Touch Deployment app.config problem
      ... "John N" wrote in message ... > server, it cannot get any settings from the app.config file. ... > download it. ... If you're trying to configure remoting via a config file, ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: one touch strips
      ... John ... idea of things unseen and powers beyond our understanding... ... finger and having that lamp come on." ...
      (alt.support.diabetes)
    • Default repo config
      ... Since I do not have an internet connection at home, ... changed Yum config in order to install form the DVD. ... Nevertheless the repos config is broke and also the Yum ...
      (Fedora)