Index: smart-1.4.1/smart/transaction.py =================================================================== --- smart-1.4.1.orig/smart/transaction.py 2012-12-05 18:02:03.061062143 +0100 +++ smart-1.4.1/smart/transaction.py 2013-05-17 11:52:12.300436720 +0200 @@ -979,7 +979,8 @@ for pkg in changeset.keys(): op = changeset.get(pkg) - if (op and op != origchangeset.get(pkg) and + origpkgop = origchangeset.get(pkg) + if (op and origpkgop != None and op != origpkgop and pkg not in locked and pkg not in lockedstates): try: