Check if all packages that were supposed to be installed, ended up installed. --- src/pylorax/ltmpl.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index 2560f27..994b601 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -428,6 +428,13 @@ class LoraxTemplateRunner(object): self.yum.repos.setProgressBar(LoraxDownloadCallback()) self.yum.processTransaction(callback=LoraxTransactionCallback(), rpmDisplay=LoraxRpmCallback()) + + # verify if all packages that were supposed to be installed, + # are really installed + errs = [t.po for t in self.yum.tsInfo if not self.yum.rpmdb.contains(po=t.po)] + for po in errs: + logger.error("package '%s' was not installed", po) + self.yum.closeRpmDB() def removefrom(self, pkg, *globs): -- 1.7.9.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list