LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with Software Updater (https://www.linuxquestions.org/questions/linux-software-2/problem-with-software-updater-472070/)

julian.osorio 08-08-2006 03:49 PM

Problem with Software Updater
 
Hi everybody

can anybody help me with this?

I need to do a software update
what i have to do now??

please tell me

Component: Software Updater
Summary: TBd92eccef ConfigParser.py:462:_read:MissingSectionHeaderError: File contains no section headers.
file: /etc/yum.conf, line: 17
'gpgcheck=0\n'

Traceback (most recent call last):
File "/usr/sbin/pup", line 382, in ?
main()
File "/usr/sbin/pup", line 377, in main
pup = PackageUpdater()
File "/usr/sbin/pup", line 77, in __init__
GraphicalYumBase.__init__(self, False)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 122, in __init__
self.doConfigSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in doConfigSetup
self.conf = config.readMainConfig(fn, root)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 567, in readMainConfig
confparser.read(configfile)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
ConfigParser.read(self,filename)
File "/usr/lib64/python2.4/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib64/python2.4/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /etc/yum.conf, line: 17
'gpgcheck=0\n'

Local variables in innermost frame:
cursect: None
fp: <open file '/etc/yum.conf', mode 'r' at 0x2ab0edc20af8>
e: None
fpname: /etc/yum.conf
mo: None
optname: None
lineno: 17
line: gpgcheck=0

self: <yum.parser.IncludingConfigParser instance at 0x2ab0edc16c20>


All times are GMT -5. The time now is 08:39 PM.