implement APT repository generation