<div>Since updating to Fedora Core 4 I haven't been able to get yum to work.&nbsp; When I try to run yum update I get the following message:</div>
<div>&nbsp;</div>
<div>
<p><em><font size="1">[root@sight etc]# 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:</font></em></p>
<p><em><font size="1">&nbsp;&nbsp; No module named rpm</font></em></p>
<p><em><font size="1">Please install a package which provides this module, or<br>verify that the module is installed correctly.</font></em></p>
<p><em><font size="1">It's possible that the above module doesn't match the<br>current version of Python, which is:<br>2.4.1 (#1, May 16 2005, 15:19:29)<br>[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]</font></em></p>
<p>In python this is the error I get when I try to import yum &amp; rpm</p>
<p><em><font size="1">[root@insight etc]# python<br>Python 2.4.1 (#1, May 16 2005, 15:19:29)<br>[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
<br>&gt;&gt;&gt; import yum<br>Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>&nbsp; File &quot;__init__.py&quot;, line 21, in ?<br>ImportError: No module named rpm<br>&gt;&gt;&gt; import rpm
<br>Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>ImportError: No module named rpm<br></font></em></p>
<p>This is what I have:</p>
<p><font size="1"><em>[root@sight etc]# rpm -q python<br>python-2.4.1-2<br>[root@sight etc]# rpm -q rpm<br>rpm-4.4.2-15.1_58.rhfc2.at<br>[root@sight etc]# rpm -q yum<br>yum-2.4.1-1.fc4</em><br></font><font size="1"></font>
</p>
<p><font size="1"><font size="2">I'm fairly new to linux, can anyone help me?</font></font></p>
<p><font size="1"><font size="2">Thank you.</font></font></p></div>