add aptrepos and convert prereq.pp to use it.