A short while ago I asked this question - Does "apt-get -s upgrade" or some other apt command have an option to list the repositories the packages will be downloaded from?, about how to list the repositories packages would be upgraded from.
I have now learned another command, apt-cache madison
which will list the repos a package will be installed from.
Why a name like madison
which is in no way related to the task at hand?