diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-12 17:11:55 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-12 17:11:55 +0000 |
commit | 987f88f1bff13b839188dfebdb51e7802ce08037 (patch) | |
tree | b72e87d5f63146773d0d70d2eb4c03fb7966f21b /todo.py | |
parent | a3d2d3b08ea51c5f3dbd69fd7967f41b31e13671 (diff) | |
download | anaconda-987f88f1bff13b839188dfebdb51e7802ce08037.tar.gz anaconda-987f88f1bff13b839188dfebdb51e7802ce08037.tar.xz anaconda-987f88f1bff13b839188dfebdb51e7802ce08037.zip |
write out packages not upgraded on upgrade
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1433,7 +1433,7 @@ class ToDo: logname = '/tmp/upgrade.log' else: logname = '/tmp/install.log' - + self.instLogName = self.instPath + logname self.instLog = open(self.instLogName, "w+") syslog = InstSyslog (self.instPath, self.instPath + logname) @@ -1507,6 +1507,15 @@ class ToDo: del p self.instLog.close () + if self.upgrade: + self.instLog.write ("\n\nThe following packages were available on the CD but NOT upgraded:\n") + for p in self.hdList.packages.values (): + if not p.selected: + self.instLog.write("%s-%s-%s.%s.rpm" % + (p.h[rpm.RPMTAG_NAME], + p.h[rpm.RPMTAG_VERSION], + p.h[rpm.RPMTAG_RELEASE], + p.h[rpm.RPMTAG_ARCH])) w = self.intf.waitWindow(_("Post Install"), _("Performing post install configuration...")) |