I can use aptitude to search for packages using a search term. For example, to search for all packages whose name begins with Foo:
$ aptitude search Foo*
However, this listing does not include source packages (package with source code).
How do I search and list source packages using a search term?
Searching: I don't know how to perform a regex search over source package names using apt on the target machine, but one can perform a regex search over source package names by selecting "Source package names" under "Search package directories" at http://packages.ubuntu.com
Listing: Once you know the source package name 'foo',
apt-cache showsrc foo
shows the source package records for foo.this is what I do (besides what is listed) using unity as a example
or This is a much larger list that shows you the control files of packages apt-cache show unity*
Or you can use 'dump' to dump everything (not recommended)
Or you can use dpkg also like
Or you could use
Hope this helps