Error running yum in 0.7.3

Joined
Apr 5, 2007
Messages
2
Points
0
Hi

I have installed version 0.7.3 and tried to run yum but the following error message appears:

Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "__init__.py", line 83, in doConfigSetup
File "__init__.py", line 116, in getReposFromConfig
File "config.py", line 420, in parseDotRepo
File "/usr/lib/python2.3/ConfigParser.py", line 280, in readfp
self._read(fp, filename)
File "/usr/lib/python2.3/ConfigParser.py", line 484, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: file://///etc/yum.repos.d/elastix.repo
[line 6]: 'exclude elastix-mysqldbdata\n'
Does anyone know how to fix the problem?

Thanks
 

Saleh

Guest
do this

$ cd /etc/yum.repos.d
$ vi elastix.repo
and repalce "exclude elastix-mysqldbdatan" with

exclude=elastix-mysqldbdatan

dann type

$ yum update


Best Regrads,
Saleh
 
Joined
Apr 5, 2007
Messages
2
Points
0
Thanks Saleh

I had commented out line 6 in elastix.repo:
exclude elastix-mysqldbdata
and the yum command worked but this is obviously better.

I notice that this line has been added since version 0.6 of Elastix.

Thanks
Graham
 
Joined
Apr 15, 2007
Messages
11
Points
0
I'm getting an error on the repo baseurl. Can anyone confirm the one i have on the yum.repos.d file.

[elastix]
name=Elastix RPM Repository for CentOS
baseurl=http://repo.elastix.org/centos/$releasever/updates/RPMS/
gpgcheck=0
enabled=1
exclude=elastix-mysqldbdatan

Code:
[root@elastix yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
[root@elastix yum.repos.d]#
 
Joined
Apr 15, 2007
Messages
11
Points
0
My error is fixed. It was related to the dns settings. The server was not able to resolve de domain names.
 

Staff online

Members online

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top