acquire the apt lock before modifying it's files!