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 10:17:52 +0300
"Stelios A." <[email protected]> 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
[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)

iEYEARECAAYFAkhiI8MACgkQYsrkMw35vikvuQCdHOd+A4PyAQ1Tj1tBCPFNUhjQ
99oAnjPn3sS949/9XSrpoPfUNgJS9j8t
=wMSG
-----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.