[Yum] Replace python arch

seth vidal skvidal at linux.duke.edu
Thu Jun 22 18:55:25 UTC 2006


On Thu, 2006-06-22 at 13:09 -0300, Clodoaldo Pinto wrote:
> In a FC3 machine I have python.i386 installed and I want to replace it
> with python.i686. The versions are the same:
> 
> # yum list python
> ...
> Installed Packages
> python.i386                              2.3.4-13.1             installed
> Available Packages
> python.i686                              2.3.4-13.1             custom-updates
> 
> 
> As you can see from the yum output above I have already built the i686
> package and placed it in a yum repository.
> 
> If I try to update:
> 
> # yum update python*
> ...
> Examining python-2.3.4-13.1.i686.rpm: python - 2.3.4-13.1.i686
> Examining python-debuginfo-2.3.4-13.1.i686.rpm: python-debuginfo -
> 2.3.4-13.1.i686
> Examining python-devel-2.3.4-13.1.i686.rpm: python-devel - 2.3.4-13.1.i686
> Examining python-docs-2.3.4-13.1.i686.rpm: python-docs - 2.3.4-13.1.i686
> Examining python-tools-2.3.4-13.1.i686.rpm: python-tools - 2.3.4-13.1.i686
> python-2.3.4-13.1.i686.rpm: does not update installed package.
> python-debuginfo-2.3.4-13.1.i686.rpm: does not update installed package.
> python-devel-2.3.4-13.1.i686.rpm: does not update installed package.
> python-docs-2.3.4-13.1.i686.rpm: does not update installed package.
> python-tools-2.3.4-13.1.i686.rpm: does not update installed package.
> No Packages marked for Update/Obsoletion
> 
> # yum --version
> 2.2.2
> 
> What is the best way to achieve it?
> 
> Regards, Clodoaldo Pinto

1. upgrade to yum 2.4

or

2. disable exactarch in your yum.conf then run the update of python,
then turn it back on.

-sv





More information about the Yum mailing list