LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-22-2009, 12:30 AM   #1
gautamkashyap
LQ Newbie
 
Registered: May 2009
Location: India
Distribution: Red Hat Linux
Posts: 6

Rep: Reputation: 0
Arrow 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

Last edited by gautamkashyap; 05-22-2009 at 12:31 AM.
 
Old 05-22-2009, 12:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,408

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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?
 
Old 05-22-2009, 01:47 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,283

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


Reply

Tags
error, programs, remove, rhel5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get into Add & Remove programs Config Error sjkline Linux - Newbie 3 10-07-2008 07:42 PM
Proxy error when using Add/Remove Programs jerryheavyarms Linux - Newbie 3 07-10-2008 01:02 AM
Still cannot use Installation CD/DVD RHEL5 to add & remove packages? hocheetiong Linux - Newbie 1 01-03-2008 05:26 AM
Add/Remove programs FC6 -error Jose Rivas Fedora 5 03-25-2007 12:00 AM
Add/remove programs shows an error!!!!! firewiz87 Fedora 11 10-16-2006 10:04 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration