yum problem

Pushparaj Shetty prajshetty at gmail.com
Mon Jul 31 12:29:39 UTC 2006


Please tell me the contents of /etc/repos.d

thank you
Pushparaj

On 7/31/06, Paul Howarth <paul at city-fan.org> wrote:
> 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 at 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 problem started when i tried to install mplayer. Now I cannot
> > install any package, even from add/Remove software menu. Please help
> > me to solve the problem.
>
> Your repo file /etc/yum.repos.d/macromedia.repo appears to be mangled.
>
> Paul.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the users mailing list