In yum/__init__.py It seems like _isPackageInstalled() could be more-attractively implemented as a call to self.rpmdb.installed() and a method added to transactioninfo.TransactionData? in an 'anded' if statement -sv