* Neil Williams: > Finally, if this is done in postinst, presumably the changes will have > to be removed in postrm or can dpkg be persuaded to do this for me? > (Could I ship a sources.list file in the package and move the previous > one to sources.dpkg-old?) There is /etc/apt/sources.list.d. However, I don't think official Debian packages should enable non-official package sources.