diff --git a/urpm-repomanage.py b/urpm-repomanage.py index 5806320..5188533 100755 --- a/urpm-repomanage.py +++ b/urpm-repomanage.py @@ -134,6 +134,10 @@ def main(args): errorprint(_('No files to process')) sys.exit(1) + # 'New' is still used by default to be compatible with repomanage from yum-utils + if options.obsolete or options.old: + options.new = False + ts = rpm.TransactionSet() if options.nocheck: ts.setVSFlags(~(rpm._RPMVSF_NOPAYLOAD))