Piotr Romanus <piotr.romanus@xxxxxxxxx> writes: > On Thu, Jun 25, 2009 at 7:26 PM, James Antill <james-yum@xxxxxxx> wrote: >> > >> Yeh, that's not how it works. If you have foo.i386 and foo.x86_64 >> installed, and you need to update foo.i386 for a dep. then yum will >> update both ... but it doesn't install things that aren't needed. > > Not sure I understand what you mean by "aren't needed". foo.i386 has > the same set of "Requires" statements as foo.x86_64 Unless by "the same set" you mean in the source, which is using %{_isa} and you have an rpmbuild which fills those in ... then explicit requires statements are exactly what I mean. If you have pkgA which has: Requires: pkgB BuildRequires: pkgC-devel ...then the first line is satisfied by either pkgB.i386 or pkgB.x86_64, dito. the second line (but with pkgC-devel.*). So if you install both pkgA.i386 _and_ pkgA.x86_64 ... yum will do what you asked and only install pkgB.x86_64. > Besides I performed a small experiment: I checked my diskless partition to > see how many bzip2 packages I had installed (chrooted to the dikless partition > before executing this): bzip2 has different deps. for different arches, exactly because bzip2.i386 can't use bzip2-libs.x86_64: bzip2.x86_64 requires libbz2.so.1()(64bit) bzip2.i386 requires libbz2.so.1 -- James Antill -- james@xxxxxxx _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum