• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

libxml2 error when trying to use yum

KingSky

New Pleskian
Hi,

Please take note right away that when it comes to Linux I'm a rank newbie :p so please make any explanations simple and verbose if possible.

I tried installing yum on my redhat 9 linux box with plesk 7.5r. Before I could install yum, there were a couple of dependencies to take care of, libxml2, libxml-python, and python 2.3

I was able to get all of these installed, but now when I type "yum check-update" I get the following error:

Code:
Traceback (most recent call last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
  File "/usr/share/yum/yummain.py", line 31, in ?
    import yumcomps
  File "/usr/share/yum/yumcomps.py", line 4, in ?
    import comps
  File "/usr/share/yum/comps.py", line 5, in ?
    import libxml2
ImportError: No module named libxml2

I think that libxml2 is correctly installed.. if I try to re-install it it says that libxml2 is already installed.

I've searched all over for this problem and did find a couple of obscure messages indicating that it 'might' be related to the fact that I installed python 2.3 when python 2.2 is already installed, but I don't know what that means or how to fix it. Any help would be greatly appreciated!

Thanks so much!
-Kevin
 
Back
Top