[Yum] ImportError: No Module named yum

seth vidal skvidal at phy.duke.edu
Tue Apr 5 04:25:42 UTC 2005


On Mon, 2005-04-04 at 22:17 -0400, Steven Smith wrote:
> Hello,
> 	I am a newbie to linux trying to get Yum to work on my redhat
> enterprise Linux ES 3 system.  I download yum-2.2.0-1.noarch.rpm and
> installed it using the command 'rpm -Uvh yum-2.2.0-1.noarch.rpm'.
> 	The output from the rpm command looked like it completed successfully. 
> I edited the yum.conf file to add the following lines 
> [xcyb-stable]
> name=Fedora Core 3 ( xcyborg / stable )
> baseurl=http://rpms.xcyb.org/fedora/3/stable/
> 
> 	After reading the yum.conf man file I added enabled=1 to the yum.conf file.

rhel3 doesn't have python 2.3 - which the yum 2.2.0 noarch rpm was built
for. You need to rebuild the src.rpm for rhel3 and the problem will go
away.
-sv





More information about the Yum mailing list