[Yum] yum problem + TypeError: Parsing primary.xml error

Jan Hutař jhutar at redhat.com
Wed Jun 25 10:53:55 UTC 2008


On Wed, 25 Jun 2008 10:17:52 +0300
"Stelios A." <stelios.a at gmail.com> wrote:

> I run all of them and always got the following error:

My last shot:

# rm -rf /var/cache/yum/*
# rpm -q yum python-sqlite2 sqlite
# rpm -V yum python-sqlite2 sqlite

Oh, really last shot:

Download whole "repodata/" directory to /tmp/mytest (you do not have to
download all packages) and create repo-config with:

[mytest]
name=My test
baseurl=file:///tmp/mytest/
gpgcheck=0

And run:

# yum show available --disablerepo=\* --enablerepo=mytest

And if this fails, try to recreate the repodata (you will need some
rpms in /tmp/mytest) with:

# createrepo /tmp/mytest

And then again:

# yum show available --disablerepo=\* --enablerepo=mytest

Hopefuly you are not too disappointed, maybe somebody here will help better.

Regards,
Jan



-- 
Jan Hutar   Quality Assurance Engineer
jhutar at redhat.com        Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20080625/82df40d2/attachment-0001.pgp 


More information about the Yum mailing list