LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-11-2005, 05:24 PM   #1
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Rep: Reputation: 15
yum...died


Code:
[root@localhost Desktop]# yum
Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
  File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 33, in ?
    import groups
  File "/usr/lib/python2.3/site-packages/yum/groups.py", line 3, in ?
    import comps
  File "/usr/lib/python2.3/site-packages/yum/comps.py", line 5, in ?
    import libxml2
  File "/usr/lib/python2.3/site-packages/libxml2.py", line 1, in ?
    import libxml2mod
ImportError: /usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI
That happens whenever I run yum :/ I've tried removing yum, Googling the latest yum RPM (yum-2.1.11-3.noarch.rpm) and installing that but it didn't work
 
Old 04-11-2005, 07:26 PM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
No worries dude, its just a python issue. Looks like you need to upgrade the libraries. If you've installed the latest yum from updates/testing then best get the latest python libraries as well. Dont force it though, just post back any errors if it wont install.
Cheers
Chris
 
Old 04-12-2005, 06:11 PM   #3
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
I downloaded and installed Python 2.3.5 and 2.4.1 from http://python.org/ then ran yum again and the same thing happened
 
Old 04-12-2005, 06:26 PM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Try running
yum clean all
and then
yum update
Also see this thread:

https://www.redhat.com/archives/fedo.../msg06080.html

EDIT: Also try to update your libxml and libxml-devel packages.
Cheers
Chris

Last edited by snecklifter; 04-12-2005 at 06:29 PM.
 
Old 04-16-2005, 12:40 PM   #5
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Code:
[root@localhost notroot]# rpm -Uvh --oldpackage --force libxml2-devel-2.6.16-3.i386.rpm
Preparing...                ########################################### [100%]
   1:libxml2-devel          ########################################### [100%]
[root@localhost notroot]# rpm -Uvh --oldpackage --force libxml2-python-2.6.16-3.i386.rpm
Preparing...                ########################################### [100%]
   1:libxml2-python         ########################################### [100%]
[root@localhost notroot]# rpm -Uvh --oldpackage --force libxml2-2.6.16-3.i386.rpm
Preparing...                ########################################### [100%]
   1:libxml2                ########################################### [100%]
[root@localhost notroot]# yum
Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
  File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 33, in ?
    import groups
  File "/usr/lib/python2.3/site-packages/yum/groups.py", line 3, in ?
    import comps
  File "/usr/lib/python2.3/site-packages/yum/comps.py", line 5, in ?
    import libxml2
  File "/usr/lib/python2.3/site-packages/libxml2.py", line 1, in ?
    import libxml2mod
ImportError: /usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI
[root@localhost notroot]#

Last edited by a thing; 04-16-2005 at 12:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration