Description of problem: Fedora 9 x86_64 with yum-3.2.16-2.fc9.noarch "yum install libflashsupport" only wants to install the x86_64 version of libflashsupport. This is a change in yum's behavior, but I remember reading about multilib_policy. So I add "multilib_policy=all" to yum.conf... and not change in yum's behaviour. Huh? So I make yum.conf say "multilib_policy=best" and still no change. The only way I can get the .i386 version of libflashsupport installed is by calling it out: yum install libflashsupport.i386 Is multilib_policy=best hardcoded, regardless of what the config file says? What I though "=all" was supposed to be the default... but that it could be changed for people who were annoyed by that... it seems neither is the case.
can you post your yum.conf for multilib_policy=all - I just want to make sure it's all spelled right. and then could you run yum install libflashsupport and post the output? thanks
gotten a second confirmation on this one.
Created attachment 307228 [details] yum.conf with the multilib_policy=all
Attached. I doubt I misspelled it as I cut and pasted it from the man page: Here is the output even with multilib_policy=all explicitly set: $ sudo yum -d1 install libflashsupport ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: libflashsupport x86_64 000-0.5.svn20070904 fedora 8.7 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 8.7 k Is this ok [y/N]:
Here's the fix: diff --git a/yum/__init__.py b/yum/__init__.py index 72f9091..c621a73 100644 --- a/yum/__init__.py +++ b/yum/__init__.py @@ -2187,7 +2187,7 @@ class YumBase(depsolve.Depsolve): pkgs = use - pkgs = packagesNewestByName(pkgs) + pkgs = packagesNewestByNameArch(pkgs) pkgbyname = {} for pkg in pkgs: ...it'll be in the nesxt Fed-9 update. Upstream commit f6317aabb2734357311b6103286a76054c3cd0e9
Still not fixed... at least not in yum-3.2.16-2.fc9.noarch. What yum update is this in?
yum-3.2.17-1.fc9 has been submitted as an update for Fedora 9
yum-3.2.17-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6301
Better, but still doesn't work. Explicitly setting multilib_policy=all now at least works with yum-3.2.17-1.fc9 ... but the default behaviour when it isn't set at all is still the implicit "best" arch. I believe that this isn't the intended behaviour... all past versions of yum I can remember installs with the "all" assumption unless "best" is manually set.
Joshua, in F9 we changed the default so yum will only install the best arch not both. But it is an option so you can change it.
Ah... ok. So "best" is intentionally the default. I don't know that I like that, but that is a far different issue than this bug, where multilib_policy=all wasn't even working. Ok then... lets close this out as fixed. Thanks Seth.
yum-3.2.17-2.fc8 has been submitted as an update for Fedora 8
yum-3.2.17-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.2.18-1.fc8 has been submitted as an update for Fedora 8
yum-3.2.19-1.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/yum-3.2.19-1.fc8
yum-3.2.19-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.