diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-07-30 02:59:57 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-07-30 02:59:57 +0000 |
commit | ceb71328f853a585f7decfe71a290e4550478fd0 (patch) | |
tree | ed05c7b40ea9c34eebae823c1b67f149d9ff1821 | |
parent | 210ff0ccd3b4cb2e0dd284e853b3a903a6b2f5c7 (diff) | |
download | anaconda-ceb71328f853a585f7decfe71a290e4550478fd0.tar.gz anaconda-ceb71328f853a585f7decfe71a290e4550478fd0.tar.xz anaconda-ceb71328f853a585f7decfe71a290e4550478fd0.zip |
this fixes 6.2 upgrades (#69960)
-rw-r--r-- | upgrade.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py index d54b11fe7..53013e317 100644 --- a/upgrade.py +++ b/upgrade.py @@ -293,6 +293,9 @@ def upgradeFindPackages(intf, method, id, instPath, dir): rpm.addMacro("_dbpath", "/var/lib/rpm") rpm.addMacro("_dbpath_rebuild", id.dbpath) rpm.addMacro("_dbapi", "-1") + # have to make sure this isn't set, otherwise rpm won't even + # *try* to use old-format dbs + rpm.addMacro("__dbi_cdb", "") rebuildpath = instPath + id.dbpath |