Modify checkAPT.py to properly detect latest cache updates.