Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
I have re-built and re-installed yum - no change.
I suspect that the libxml2-python package is the wrong one, however it is the one listed for FC4, and I'm hesitant to uninstall it, because of its dependencies.
I'm sure that's where the problem is, but the trouble is that a couple months ago I did a massive update (using yum!), which updated 50+ modules. Looking at the package dependencies now (using rpm.pbone.net) to try and figure out now whether the culprit is python or libxml2 related..... :-(
Yes, to torture myself I decided to see what "yum update" would do, and let it run again .. It predictably updated a bunch of packages, including the three ones I just downgraded: libxml2, libxml2-python, and libxml2-devel. And, of course, my original problem came back - which I fixed again. Since this seems to be a reproducible problem, is there a way to tell Yum not to touch particular packages when using "yum update"?
Yes there is (I do not remember at the moment how), check man yum. This is part of the problem running a version that is no longer supported. Somebody updates a package but does not have the resources to check it against a lot of systems. You come along and pick up that package but it breaks other stuff. I am not real pleased with the rapid cycle rate that fedora is using now(roughly 1 year of life). Fedora 8 is due out around the first of September(?) which means support for FC6 (as well as all versions prior) will be dropped on the first of October. I am considering moving to Centos (Redhat with the logos removed). They maintain support (updates) for five years.
root@h101047 [~/libxml]# cat /etc/yum.conf
[main]
exclude=apache* courier* exim* httpd* kernel kernel-xen kernel-smp kernel-pae ke rnel-PAE kernel-SMP kernel-hugemem mod_ssl* mysql* perl* php* proftpd* pure-ftpd * spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#[base]
#name=Red Hat Linux $releasever - $basearch - Base
#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$bas earch/
#[updates]
#name=Red Hat Linux $releasever - Updates
#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$release ver/
root@h101047 [~/libxml]#
This is a typical yum.conf. At the top you can see the list of packages excluded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.