I want a list of repositories in sources.list, plus those in sources.list.d/.
Can I get this list in a form suitable for setting up another host so it watches the same repositories?
Additionally, how do I determine which repository is the source of a package, either installed or available?
It seems the closest is:
apt-cache policy