simpler API for version + add test + fix DELETE dpkg