[Yum-devel] [PATCH] Do updates instead of installs when resolving dependencies

Florian Festi ffesti at redhat.com
Tue Oct 30 11:21:57 UTC 2007


Hi!

The following patch tries to update already installed pkgs instead of just 
installing the "best" arch and think about updates later on. This makes 
updates for dependencies more like regular updates and avoids ending up with 
pkgs of different version and different arches installed at once - which 
will most likely result in multilib file conflicts. The two scenarios that 
should change their behavior are:

foo-1.i386 installed; bar requires: foo-2 resulted in foo-1.i386 and 
foo-2.x86_64 installed. Now foo-1.i386 is updated to foo-2.i386

foo-1.i386 and foo-1.x86_64 installed; bar requires: foo-2 also resulted in 
foo-1.i386 and foo-2.x86_64 installed. Now foo-1.i386 and foo-1.x86_64 are 
updated to foo-2.i386 and foo-2.x86_64

Additionally some multilib <-> noarch transitions should win, too.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-multilib-updates-for-requirement.patch
Type: text/x-patch
Size: 1716 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071030/527fbb64/attachment.bin 


More information about the Yum-devel mailing list