On Tue, 2010-08-10 at 15:15 -0400, James Antill wrote: > --- > yum/__init__.py | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 0304fea..ea7b7d1 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -3702,6 +3702,13 @@ class YumBase(depsolve.Depsolve): > if self.conf.protected_packages and po.pkgtup == kern_pkgtup: > self.logger.warning(_("Skipping the running kernel: %s") % > po) > continue > + if self.tsInfo.getMembers(po.pkgtup):
maybe: if self.tsInfo.getMembersWithState(po.pkgtup, output_states=TS_REMOVE_STATES): > + for txmbr in self.tsInfo.matchNaevr(po.name): > + self.logger.warning(_("Removing %s from the > transaction") % > + txmbr) > + self.tsInfo.remove(txmbr.pkgtup) > + # Do the remove as well, this makes multi-reinstall work > too. > + # etc. Just so we don't accidentally overreach? otherwise ACK -sv _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel