Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-05-2009, 01:30 PM   #1
Bruce Jamieson
LQ Newbie
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Question Fedora 10 error - yum repos file contains parsing errors... what to do?

Hey, everyone! New to Linux but I've been working with Macs for years. I'm running Fedora 10 on a Mac Pro. I'm having trouble doing a system update. When I try to run it, I get the following error:

Error Type: <class 'yum.Errors.ConfigError'>
Error Value: File contains parsing errors: file://///etc/yum.repos.d/atrpms.repo
Here's the data in that file:

name=Fedora Core  -  - ATrmps
enabled = 0
From what I understand, the file in question points yum to the ATrpms software repository. Figuring that this file was somehow corrupted, I thought that I could just delete the file and re-establish the link to ATrpms later. Only, I can't delete the file from the GUI (since it's owned by root) and I simply can't seem to find the right info on how to do that through the terminal. And though I can open the "atrpms.repo" file, I can't save it with any changes for the same reason.

Am I on the right track here? I'm pretty lost. Let me know if more info is needed.
Old 02-05-2009, 01:46 PM   #2
Bruce Jamieson
LQ Newbie
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Also, I tried
yum clean
but I get a very similar error:

Loaded plugins: refresh-packagekit
Config Error: File contains parsing errors: file://///etc/yum.repos.d/atrpms.repo
	[line  7]: EOF
Old 02-05-2009, 02:14 PM   #3
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Well, remove the spurious, unrecognized, EOF from the last line of the file.

By the way, I thought atrpms had been merged into the rpm-fusion repositories, and that there was nothing in the atrpms site for Fedorda 10.
Old 02-05-2009, 02:21 PM   #4
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
You have to be root to edit the atrpms.repo file. Open a terminal and type
su -
enter the root's password when prompted, then just
cd /etc/yum.repos.d
if you know how to use vi, edit the file directly from the terminal, otherwise just launch a graphical editor, e.g.
gedit atrpms.repo
The problem is that your current file lacks some fields. How did you installed this repo file? Does it come from a RPM? Anyway, it should look like this:
name=Fedora Core $releasever - $basearch - ATrpms


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
YUM Repos [ftp] error rajeshux Red Hat 5 12-09-2008 01:02 AM
YUM - Fedora 5 - How do I get the REPOs to work LexMillian Fedora 4 11-12-2008 01:35 PM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping dr_zayus69 Linux - Software 1 07-12-2005 11:56 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 PM.

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