[Yum] Yum replacing x86_64 packages with i386.

seth vidal skvidal at phy.duke.edu
Tue Dec 7 16:01:21 UTC 2004


On Mon, 2004-12-06 at 15:07 -0800, Dan Hollis wrote:
> On Fri, 3 Dec 2004, seth vidal wrote:
> > On Fri, 2004-12-03 at 12:30 -0800, Dan Hollis wrote:
> > > Here's what I get on yum 2.1.11:
> > > Other Transactions:
> > >   Obsoleting: boost.i386 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
> > >   Obsoleting: boost.x86_64 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
> > >   Obsoleting: boost-devel.x86_64 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
> > Just for fun try this:
> > in your /etc/yum.conf set obsoletes=0
> > then run yum update
> > and try it again, please.
> 
> obsoletes=1:
> 
> Dependencies Resolved
> Transaction Listing:
>   Update: boost.i386 0:1.32.0-1.fc3
>   Update: boost.x86_64 0:1.32.0-1.fc3
> 
> Other Transactions:
>   Obsoleting: boost.i386 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
>   Obsoleting: boost.x86_64 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
>   Obsoleting: boost-devel.x86_64 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3
> 
> Is this ok [y/N]: y
> Downloading Packages:
> boost-1.32.0-1.fc3.i386.r 100% |=========================| 586 kB    00:07     
> boost-1.32.0-1.fc3.x86_64 100% |=========================| 601 kB    00:10     
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Updating: boost 100 % done 1/5 
> Updating: boost 100 % done 2/5 
> Completing update for boost  - 3/5
> Erasing: boost-devel 4/5
> Completing update for boost  - 5/5
> 
> Updated: boost.i386 0:1.32.0-1.fc3 boost.x86_64 0:1.32.0-1.fc3
> Obsoleted: boost.i386 0:1.31.0-9 boost.x86_64 0:1.31.0-9 boost-devel.x86_64 0:1.31.0-9
> Complete!
> 
> 
> obsoletes=0:
> 
> Dependencies Resolved
> Transaction Listing:
>   Update: boost.i386 0:1.32.0-1.fc3
>   Update: boost.x86_64 0:1.32.0-1.fc3
>   Update: boost-devel.x86_64 0:1.32.0-1.fc3
> Is this ok [y/N]: y
> Downloading Packages:
> boost-1.32.0-1.fc3.x86_64 100% |=========================| 601 kB    00:13     
> boost-1.32.0-1.fc3.i386.r 100% |=========================| 586 kB    00:11     
> boost-devel-1.32.0-1.fc3. 100% |=========================| 3.3 MB    01:12     
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Updating: boost 100 % done 1/6 
> Updating: boost 100 % done 2/6 
> Updating: boost-devel 100 % done 3/6 
> Completing update for boost  - 4/6
> Completing update for boost-devel  - 5/6
> Completing update for boost  - 6/6
> 
> Updated: boost.i386 0:1.32.0-1.fc3 boost.x86_64 0:1.32.0-1.fc3 boost-devel.x86_64 0:1.32.0-1.fc3
> Complete!
> 
> -Dan
> 

Yah so this is part packaging error (boost shouldn't be obsoleting
itself) and part a package manager problem (yum should be tracking arch
for obsolete) and part rpm problem - as it stands if you update a
package that obsoletes another ver of itself rpm will obsolete ANY and
ALL archs of that package name, not just packages of the same arch.

So it's just a fun fun fun world out there. I'm going to work on the
parts I can fix. :)

-sv





More information about the Yum mailing list