diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-25 20:42:44 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-25 20:42:44 +0000 |
commit | 63d6205907feb7cc771abcb546e68c82223ed21e (patch) | |
tree | 78cc60fff14da00ed65c8c77ac337a49891e24d2 /upgrade.py | |
parent | dc44a06b95c25dd3dad62ebb2aae0290f279fb46 (diff) | |
download | anaconda-63d6205907feb7cc771abcb546e68c82223ed21e.tar.gz anaconda-63d6205907feb7cc771abcb546e68c82223ed21e.tar.xz anaconda-63d6205907feb7cc771abcb546e68c82223ed21e.zip |
we'll give this a try to see how much not having orphan file handling hurts us on upgrades. some quick stand-alone testing shows it to be reasonable (most things that got pulled in before will still get pulled for deps) with a few exceptions where we need to have a generic way to do these upgrade cases anyway
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py index 543f4c3d2..6aaddf4e0 100644 --- a/upgrade.py +++ b/upgrade.py @@ -317,7 +317,8 @@ def upgradeFindPackages(intf, method, id, instPath, dir): rpm.addMacro("_dbpath", id.dbpath) rpm.addMacro("_dbapi", "3") try: - packages = rpm.findUpgradeSet(id.hdList.hdlist, instPath) + import findpackageset + packages = findpackageset.findpackageset(id.hdList.hdlist, instPath) except rpm.error: iutil.rmrf(rebuildpath) win.pop() |