Last upate via yum breaks yum.

Gene Heskett gene.heskett at verizon.net
Sat Oct 30 22:09:12 UTC 2004


On Saturday 30 October 2004 16:35, J. Gardner Biggs wrote:
>On Sat, 2004-10-30 at 13:15 -0700, Jon Savage wrote:
>> > Now yum no worky, error:
>> >
>> > [root at gort root]# yum check-update
>> > 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
>> >   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
>> >
>> > How do we fix this?
>>
>> I got the same thing this morning, yum clean all seems to have
>> fixed it for me
>
>What do you mean by yum clean all?
>
>doing this:
>
>[root at gort root]# yum clean all
>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
>  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
>
>does nothing.  What I am doing wrong?
>

Bahh!

You aren't doing anything wrong that I can see, Jon, but then I'm just 
a long time user.  Go back to the first 2 FC2 cd's, find all the 
libxml2 and libxslt stuff, put it in a temporary dir, cd to it and do 
an rpm -Uvh --oldpackage --force *.rpm

Python seems to require that *everything* all be updated at the same 
time or unmarked dependencies will eat our lunch.  libmxl2 is used by 
half the stuff in the system it seems, and unwanted updates to it by 
yum have broken me 2, maybe 3 times now.  It is in my exclude= line 
now, and will be until someone can show me that all the dependencies 
and breakage involved in updateing it _have been addressed_.  Or I 
update to FC3 as the case may be.

>> --
>> Bests,
>> Jon
>
>--
>J. Gardner Biggs <gardnerbiggs at houston.rr.com>

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.28% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list