> If I'm not wrong I think the command apt-cache policy <package> show > the source it was installed from.
That command shows the sources each version is /available/ from, not where it was installed from.
> If and only if the said package/version still exists in one of your sources.
Some times, and only by coincidence. That is not a reliable indicated of whether such a package was installed from a particular source.
> If I'm not wrong I think the command apt-cache policy <package> show
> the source it was installed from.
That command shows the sources each version is /available/ from, not
where it was installed from.
> If and only if the said package/version still exists in one of your sources.
Some times, and only by coincidence. That is not a reliable indicated
of whether such a package was installed from a particular source.