<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<blockquote><span>"Alastair McKinley" <amckinley03 googlemail com> wrote:</span><br>
<span></span><br>
<span></span><br>
<span>I just tried to run "yum update" this evening and this happened:</span><br>
<span></span><br>
<span></span><br>
<span>There was a problem importing one of the Python modules</span><br>
<span>required to run yum. The error leading to this problem was:</span><br>
<span></span><br>
<span> /usr/lib/python2.4/site-packages/cElementTree.so: undefined symbol:</span><br>
<span>PyUnicodeUCS4_DecodeUTF8</span><br>
<span></span><br>
<span>Please install a package which provides this module, or</span><br>
<span>verify that the module is installed correctly.</span><br>
<span></span><br>
<span>It's possible that the above module doesn't match the</span><br>
<span>current version of Python, which is:</span><br>
<span>2.4.1 (#2, May 3 2005, 17:14:18)</span><br>
<span>[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]</span><br>
<span></span><br>
<span>If you cannot solve this problem yourself, please go to</span><br>
<span>the yum faq at:</span><br>
<span> <a href="http://wiki.linux.duke.edu/YumFaq">http://wiki.linux.duke.edu/YumFaq</a></span><br>
<span></span><br>
<span></span><br>
<span>Any ideas?</span><br>
<span></span><br>
<span>Alastair</span><br>
</blockquote>
<span></span><br>
<span> I'm not seeing that on my FC4 box. I show the following components:</span><br>
<span></span><br>
<span></span><br>
<span>[root bend ~]# rpm -q --whatprovides /usr/lib/python2.4/site-packages/cElementTree.so python-elementtree-1.2.6-4</span><br>
<span>[root bend ~]# rpm -q --whatprovides `which python`</span><br>
<span>python-2.4.3-8.FC4</span><br>
<span>[root bend ~]# rpm -q --whatprovides `which yum`</span><br>
<span>yum-2.4.1-1.fc4</span><br>
<span></span><br>
<span>and everything works as expected:</span><br>
<span></span><br>
<span>[root bend ~]# yum update; date</span><br>
<span>Setting up Update Process</span><br>
<span>Setting up repositories</span><br>
<span>legacy-updates 100%
|=========================| 951
B 00:00</span><br>
<span>freshrpms
100% |=========================| 951
B 00:00</span><br>
<span>livna
100% |=========================| 951
B 00:00</span><br>
<span>jpackage-fc
100% |=========================| 951
B 00:00</span><br>
<span>jpackage-generic 100%
|=========================| 951
B 00:00</span><br>
<span>extras 100%
|=========================| 1.1 kB 00:00</span><br>
<span>updates-released 100%
|=========================| 951
B 00:00</span><br>
<span>base 100%
|=========================| 1.1 kB 00:00</span><br>
<span>Reading repository metadata in from local files</span><br>
<span>primary.xml.gz 100%
|=========================| 366 kB 00:02</span><br>
<span>jpackage-g: ################################################## 1597/1597</span><br>
<span>Added 3 new packages, deleted 3 old in 0.98 seconds</span><br>
<span>No Packages marked for Update/Obsoletion</span><br>
<span>Tue Sep 19 15:48:14 MDT 2006</span><br>
<span></span><br>
<span>Same result on a FC4 x86_64 box.</span><br>
<span></span><br>
<span></span><br>
<span>Since Python is complaining about some sort of unicode symbol,
any chance you have a peculiar language or character set
specified? </span><br>
<span>Cheers,</span><br>
<span>Dave</span><br>
<span></span><br>
<span>--</span><br>
<span>Politics, n. Strife of interests masquerading as a contest of principles.</span><br>
<span>-- Ambrose Bierce</span></blockquote>
<div><br>
<br>
Hi Dave,<br>
<br>
Thanks for your help. This is what I've got:<br>
<br>
<br>
<div style="margin-left: 40px;">[root@d6173 alastair]# rpm -q --whatprovides /usr/lib/python2.4/site-packages/cElementTree.so<br>
python-elementtree-1.2.6-4<br>
[root@d6173 alastair]# rpm -q --whatprovides `which python`<br>
python-2.4.3-8.FC4<br>
[root@d6173 alastair]# rpm -q --whatprovides `which yum`<br>
yum-2.4.1-1.fc4<br>
[root@d6173 alastair]# yum update<br>
There was a problem importing one of the Python modules<br>
required to run yum. The error leading to this problem was:<br>
<br>
/usr/lib/python2.4/site-packages/cElementTree.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8<br>
<br>
Please install a package which provides this module, or<br>
verify that the module is installed correctly.<br>
<br>
It's possible that the above module doesn't match the<br>
current version of Python, which is:<br>
2.4.1 (#2, May 3 2005, 17:14:18)<br>
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]<br>
<br>
If you cannot solve this problem yourself, please go to<br>
the yum faq at:<br>
<a href="http://wiki.linux.duke.edu/YumFaq">http://wiki.linux.duke.edu/YumFaq</a><br>
</div>
<br>
<br>
<br>
I've been using yum with virtually no problems for a year. As far
as I know (!) I havent changed any settings related to character sets,
in fact I dont even know how to check.<br>
What should I do to check this out?<br>
<br>
Is it possible I have a corrupt shared object file? <br>
<br>
Thanks again,<br>
<br>
Alastair<br>
<br>
P.S. Apologies for the stupid subject line, I sent the email before I wrote anything descritive in there!<br>
</div><br>
<blockquote><br>
</blockquote>
<pre style="margin: 0em;"><br></pre>