diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-12 01:31:24 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-12 01:31:24 +0000 |
commit | cbf7a293bae8df7c2d4c9dc396447144310ee716 (patch) | |
tree | ebd215538446dc5c42fc2e2faf5fbf3f06ce6eb8 /upgrade.py | |
parent | ef6f6ddf33394a946818ba8a23d68f13802f259a (diff) | |
download | anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.tar.gz anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.tar.xz anaconda-cbf7a293bae8df7c2d4c9dc396447144310ee716.zip |
fix for broken backwards rpm flags
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py index 8da583c1f..8e80d06a9 100644 --- a/upgrade.py +++ b/upgrade.py @@ -381,8 +381,7 @@ def upgradeFindPackages(intf, method, id, instPath, dir): # open up the database to check dependencies and currently # installed packages ts = rpm.TransactionSet(instPath) - ts.setVSFlags(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA) - ts.setFlags(rpm.RPMTRANS_FLAG_NOMD5) + ts.setVSFlags(~(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA)) mi = ts.dbMatch() found = 0 |