dpkg status api code