I usually search for packages using apt-cache (e.g. apt-cache search 'flash player') or by using the search functionality on https://packages.ubuntu.com.
Now suppose I wish to search the package list of an old Ubuntu release such as Ubuntu 12.04 LTS Precise Pangolin. How can I do it? apt-cache search ... only searches the packages available for the version of Ubuntu I am using. https://packages.ubuntu.com only searches a few of the latest releases.
I suppose I could download the package list from http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/, but what do I do with the package list to be able to search it? I prefer using something similar to apt-cache search ..., but I do not want to mess up my existing packages just because I want to search an old package list.


