LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add & Remove Programs is giving error in RHEL5 (https://www.linuxquestions.org/questions/linux-newbie-8/add-and-remove-programs-is-giving-error-in-rhel5-727711/)

gautamkashyap 05-22-2009 01:30 AM

Add & Remove Programs is giving error in RHEL5
 
Hi ,
I am using RHEL5.I installed yum package on RHEL5.After installation when i tried to open add and remove programs,It was giving a bug report.
Now it process for short time and dissappears.Plz give me solutions


Bug eport contain somthing like this--



Summary: TB4426d5a1 ConfigParser.py:490:_read:ParsingError: File contains
parsing errors: ///etc/yum.repos.d/atrpms.repo
[line 5]: 'against enabling atrpms for standard yum usage.\n'

Traceback (most recent call last):
File "/usr/sbin/pirut", line 363, in ?
main()
File "/usr/sbin/pirut", line 358, in main
pm = PackageManager()
File "/usr/sbin/pirut", line 56, 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 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 490, in _read
raise e
ParsingError: File contains parsing errors: ///etc/yum.repos.d/atrpms.repo
[line 5]: 'against enabling atrpms for standard yum usage.\n'


Thanks
Gautam Kashyap

acid_kewpie 05-22-2009 01:36 AM

You could start by looking at the file that says it broken in the error message. Off hand I'd expect a formatting issue from a cut and paste maybe?

chrism01 05-22-2009 02:47 AM

Your best chance to get rpms that work against RHEL, but are not RHEL is EPEL http://fedoraproject.org/wiki/EPEL.
Forget atrpms


All times are GMT -5. The time now is 06:57 PM.