add a method to insert packages into dpkg's status file