Re: yum problem + TypeError: Parsing primary.xml error

Jan Hutař <[email protected]>
Newsgroups gmane.linux.rpm.yum
Organization Red Hat
Message-ID <[email protected]>
On Wed, 25 Jun 2008 09:53:56 +0300
"Stelios A." <[email protected]> wrote:

> Hi Jan,
> 
> You can download the file form here:
> http://92.48.107.13/primary.xml.gz
> This is the file stored under /var/cache/yum/base
> 
> I'm not sure what you want me to upload, I am pasting the content of
> /etc/yum.repos.d/CentOS-Base.repo in case that you want this.
> 
> [base]
> name=CentOS-$releasever - Base
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
> #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> 
> #released updates
> [updates]
> name=CentOS-$releasever - Updates
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
> #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> 
> #packages used/produced in the build but not released
> [addons]
> name=CentOS-$releasever - Addons
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
> #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> 
> #additional packages that may be useful
> [extras]
> name=CentOS-$releasever - Extras
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
> #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> 
> #additional packages that extend functionality of existing packages
> [centosplus]
> name=CentOS-$releasever - Plus
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
> #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
> gpgcheck=1
> enabled=0
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

So cmp says it is same as
http://mirror.centos.org/centos/5/os/i386/repodata/primary.xml.gz, so
you downloads it correctly.

My yum-3.2.16-2.fc9.noarch reads the [base] repo correctly.

Are you sure it is this file which causes troubles? Could you run:

# yum update --disablerepo=\* --enablerepo=base

to check it? In case it is not, you can substitute "base" with
"updates", "addons", "extras" or "centosplus".

Regards,
Jan



-- 
Jan Hutar   Quality Assurance Engineer
[email protected]        Red Hat, Inc.

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhh8EcACgkQYsrkMw35vikRcACfaRdd+yyroi1eDWE2y+ysERhF
yBkAniQaROHDzeHgzu3QFlFE2uKKHDNX
=ww6X
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.