James Bowes wrote:
On Thu, Jan 17, 2008 at 07:38:34PM -0500, seth vidal wrote:
On Thu, 2008-01-17 at 19:37 -0500, James Bowes wrote:
Hey all:

Attached is a possible fix to our one failing unit test (where 'yum
install kernel' will bring in the oldest uninstalled kernel, and
installonlyn behaviour will set one of your installed but newer ones for
removal).

The patch is pretty dumb; it just gets rid of the special case for
allowedMultipleInstalls packages during install.

Can anyone see any valid use cases I might clobber if I apply?

what happens if someone runs:
yum install kernel-less-version-than-installed
on purpose?

So attached is version 2. It just lets yumBase.install() do the work via
the pattern kwarg (thanks to skvidal for pointing this out). It matches
up to the old behaviour in terms of console out put etc as far as I can
tell.

-James


------------------------------------------------------------------------

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

This rocks, it removes a lot of duplicate functionality.

what about updatePkgs cant it be reduce by using YumBase.update instead of working directly with self.tsInfo

Tim
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to