diff options
author | Matt Wilson <msw@redhat.com> | 2001-08-24 20:12:09 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-08-24 20:12:09 +0000 |
commit | b1e1bb8040e05c95d55711e2e18d02a99710ac4f (patch) | |
tree | 1c2ae712d726cc6a80a2a9ed3bc5da7e46af2c29 /packages.py | |
parent | 9238f3d7e0b01598ba100a7e1f2dd0f1d1337ade (diff) | |
download | anaconda-b1e1bb8040e05c95d55711e2e18d02a99710ac4f.tar.gz anaconda-b1e1bb8040e05c95d55711e2e18d02a99710ac4f.tar.xz anaconda-b1e1bb8040e05c95d55711e2e18d02a99710ac4f.zip |
log (most) of the new packages being installed to the upgrade.log. Check ONLY the on-system database to see if packages are installed or not, this fixes a false positive on the hasX check when moving from 7.0 to 7.2, when XFree86-xfs files move to XFree86, thus it gets selected. When hasX was on it would pull in GNOME too, which is excessive. (inspired by #50171)
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/packages.py b/packages.py index 513b8894e..1b42409ee 100644 --- a/packages.py +++ b/packages.py @@ -536,6 +536,13 @@ def doInstall(method, id, intf, instPath): # write out migrate adjusted fstab so kernel RPM can get initrd right if upgrade: id.fsset.migratewrite(instPath) + if id.upgradeDeps: + instLog.write(_("\n\nThe following packages were automatically\n" + "selected to be installed:" + "\n" + "%s" + "\n\n") % (id.upgradeDeps,)) + problems = ts.run(0, ~rpm.RPMPROB_FILTER_DISKSPACE, cb.cb, 0) @@ -633,8 +640,8 @@ def doInstall(method, id, intf, instPath): method.filesDone () if upgrade: - instLog.write ("\n\nThe following packages were available in this " - "version but NOT upgraded:\n") + instLog.write(_("\n\nThe following packages were available in " + "this version but NOT upgraded:\n")) for p in id.hdList.packages.values (): if not p.selected: instLog.write("%s-%s-%s.%s.rpm\n" % |