LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 11: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, 11: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, 05:35 PM   #3
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
what is your youm conf file?
 
Old 06-20-2005, 07: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


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

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

All times are GMT -5. The time now is 08:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration