repository repomd.xml error

Support for the other architectures (X86_64, s390(x) and PowerPC)
Post Reply
iMike
Posts: 1
Joined: 2007/08/04 16:20:13

repository repomd.xml error

Post by iMike » 2007/08/04 16:40:49

I just installed CentOS 4.0Beta ppc (from disks downloaded back in 2006-5-16) on a Blue&White Mac G3. After a few initial hurdles, it seems to be working fine (I just installed the basic server stuff), however, I get this error when trying [b]yum update[/b]:
[code]
[root@lamby ~]# yum clean all
error: Macro % has illegal name (%define)
Cleaning up Everything
0 headers removed
0 packages removed
1 metadata files removed
0 cache files removed
[root@lamby ~]# yum update
error: Macro % has illegal name (%define)
Setting up Update Process
Setting up Repos
base 100% |=========================| 320 B 00:00
//var/cache/yum/base/repomd.xml:1: parser error : Space required after the Public Identifier
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
//var/cache/yum/base/repomd.xml:1: parser error : SystemLiteral " or ' expected
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
//var/cache/yum/base/repomd.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
//var/cache/yum/base/repomd.xml:9: parser error : Opening and ending tag mismatch: hr line 7 and body
</body></html>
^
//var/cache/yum/base/repomd.xml:9: parser error : Opening and ending tag mismatch: body line 4 and html
</body></html>
^
//var/cache/yum/base/repomd.xml:10: parser error : Premature end of data in tag html line 2

^
Cannot open/read repomd.xml file for repository: base
Error importing repomd.xml from base: Error: could not parse file //var/cache/yum/base/repomd.xml
[/code]
I noticed some posts mention looking at /etc/yum.repos.d/CentOS-Base.repo but my entire /etc/yum.repos.d/ directory is empty. My current [b]yum.conf[/b] begins like this:
[code]
[root@lamby ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=CentOS-$releasever - Base
baseurl=http://beta.centos.org/centos/$releasever/os/$basearch/
#baseurl=http://sunsite.utk.edu/ftp/pub/linux/caos/centos/$releasever/os/$basearch/
# http://mirrors.ircam.fr/pub/cAos/centos/$releasever/os/$basearch/
# http://ftp.gui.uva.es/sites/caosity.org/centos/$releasever/os/$basearch/
# http://caos.bladeware.com/caosity/centos/$releasever/os/$basearch/
...
[/code]
At first I figured I had too old a copy of the CD's, but mine appear to be as new as you can get for ppc. Any tips appreciated. (I'm not so familiar with rpm-based systems.)

Best regards,
/iMike

Post Reply

Return to “CentOS 4 - X86_64,s390(x) and PowerPC Support”