I have a Debian wheezy server which has many sources configured under /etc/apt
There's seems to be a lot of duplicate sources, and I would like to simplify this. In order to avoid breaking anything, and miss any package upgrades, I don't want to remove any sources which are the only available source of a package.
I know that I can see the source of packages for which there are upgrades available, by using
apt-get upgrade --just-print
How can I list the sources of all installed packages?
Good question. As far as I know there is no way to find out where a package was installed from after you removed the deb-line from you
sources.list
-file.The only way to save all the sources would look something like this:
To verify my statement I tried this:
which basically is the same.