LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-19-2005, 10:19 AM   #1
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Rep: Reputation: 30
yum error messages


Hello All:

Am almost done creating a local repository for upgrading rpms. I've done this through wget since my yum install seems to be "broken". Here is what I get (the url stuff can be easily fixed, it's the other errors that worry me).
Any relevant messages greatly appreciated.

File "/usr/bin/yum", line 44, in ?
yummain.main(sys.argv[1:])
File "yummain.py", line 101, in main
File "yummain.py", line 58, in parseCmdArgs
File "config.py", line 57, in __init__
File "/usr/lib/python1.5/ConfigParser.py", line 175, in read
self.__read(fp)
File "/usr/lib/python1.5/ConfigParser.py", line 326, in __read
raise e
ConfigParser.ParsingError: File contains parsing errors: /etc/yum.conf
[line 11]: 'base baseurl=http://download.fedoralegacy.org/redhat/9/os/i386 \012'
[line 16]: 'updates baseurl=http://download.fedoralegacy.org/redhat/9/os/i386 \012'


ergo_sum
 
Old 06-19-2005, 10:24 AM   #2
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Hello All:

I forgot to mention:

I tried to reinstall the yum rpm but got the message that that particular ver of yum was already installed. Can I install w/ the same version of yum so that it overwrites what I've already got?

Would this solve the problem or make it worse?

Thanks

ergo_sum
 
Old 06-19-2005, 04:35 PM   #3
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
what is your youm conf file?
 
Old 06-20-2005, 06:09 PM   #4
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Here it is:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exactarch=0
exclude=kernel*

[base]
name=Red Hat Linux $releasever
base baseurl=http://download.fedoralegacy.org/redhat/9/os/i386
gpgcheck=0

[updates]
name=Red Hat Linux $releasever
updates baseurl=http://download.fedoralegacy.org/redhat/9/os/i386
gpgcheck=0

#[updates-testing] name=Red Hat Linux $releasever
#updates-testing
#baseurl=http://download.fedoralegacy.org/redhat/9/os/i386
#gpgcheck=0

[legacy-utils]
name=Fedora Legacy utilities for Red Hat Linux $releasever
baseurl=legacy utils:http://download.fedoralegacy.org/redhat/9/os/i386 gpgcheck=0
 
  


Reply



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
Error Messages sbleecker General 4 01-05-2006 05:36 PM
Error messages ust Linux - Software 5 07-18-2005 10:31 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
Error messages rhosny Linux - General 0 03-27-2001 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration