[Yum] Replace python arch

seth vidal skvidal at linux.duke.edu
Thu Jun 22 19:29:35 UTC 2006


On Thu, 2006-06-22 at 16:22 -0300, Clodoaldo Pinto wrote:
> 2006/6/22, seth vidal <skvidal at linux.duke.edu>:
> > 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:
> > >
> ...
> > > 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.
> 
> exactarch was already disabled. Tried to replace python.i386 by
> python.i686 in a FC5 system with yum 2.6.1 and exactarch disabled wiht
> the similar results:
> 
> # yum update python*
> ...
> Examining python-2.4.3-4.FC5.i686.rpm: python - 2.4.3-4.FC5.i686
> Examining python-debuginfo-2.4.3-4.FC5.i686.rpm: python-debuginfo -
> 2.4.3-4.FC5.i686
> Package python-debuginfo not installed, cannot update it. Run yum
> install to install it instead.
> Examining python-devel-2.4.3-4.FC5.i686.rpm: python-devel - 2.4.3-4.FC5.i686
> Examining python-tools-2.4.3-4.FC5.i686.rpm: python-tools - 2.4.3-4.FC5.i686
> Package python-tools not installed, cannot update it. Run yum install
> to install it instead.
> python-2.4.3-4.FC5.i686.rpm: does not update installed package.
> python-devel-2.4.3-4.FC5.i686.rpm: does not update installed package.
> No Packages marked for Update/Obsoletion
> 
> 

ah ha

I missed the 'versions are the same' part.

sorry.

you can't really do that with yum.

just do:


rpm -Uvh --replacefiles --replacepkgs filename filename filename

-sv





More information about the Yum mailing list