[Yum] yum/synaptic/up2date all broken after FC2 upgrade.

Gene Heskett gene.heskett at verizon.net
Mon Jul 26 06:52:45 UTC 2004


On Monday 26 July 2004 00:55, Jeffrey Burns wrote:
>FWIW, I've had the same problem right for the last ~24 hrs. Just
>installed FC2.

So did I just now, and when I was done, I tried to fire off yum to go 
bring it up to  date.  Silly me, I have exactly the same error I had 
for the last month after yum updated something on the FC1 system.  
The python and yum lists have seen this question form me before, no 
answer then, hopefully now there might be one.

This is the error for yum:
---
[root at coyote lib]# 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: xmlByteConsumed

This is the error for up2date:
---
[root at coyote lib]# up2date
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 29, in ?
    from up2date_client import up2date
  File "/usr/share/rhn/up2date_client/up2date.py", line 36, in ?
    import depSolver
  File "/usr/share/rhn/up2date_client/depSolver.py", line 4, in ?
    import packageList
  File "/usr/share/rhn/up2date_client/packageList.py", line 17, in ?
    import up2dateComps
  File "/usr/share/rhn/up2date_client/up2dateComps.py", line 7, in ?
    from rhpl import comps
  File "/usr/lib/python2.3/site-packages/rhpl/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: xmlByteConsumed

And an "strace synaptic" falls over with this:
---
open("/usr/lib/librpm-4.2.so", O_RDONLY) = -1 ENOENT (No such file or 
directory)
writev(2, [{"synaptic", 8}, {": ", 2}, {"error while loading shared 
libra"..., 36}, {": ", 2}, {"librpm-4.2.so", 13}, {": ", 2}, {"cannot 
open shared object file", 30}, {": ", 2}, {"No such file or 
directory", 25}, {"\n", 1}], 10synaptic: error while loading shared 
libraries: librpm-4.2.so: cannot open shared object file: No such 
file or directory
) = 121
exit_group(127)                         = ?

Which it should as librpm is now 4.3.so etc.

Gee, I sure wish an upgrade didn't break more than it fixed.

-- 
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.



More information about the Yum mailing list