I'm trying to figure out a way to get a list of the packages that are no longer available in the repositories that I have enabled. This workstation has been through quite a few versions of Ubuntu and has had many 3rd party repositories added and removed. I'd like to get a list of software that I have from these removed repositories, so I can clean it up or add back the appropriate repositories.
migrated from serverfault.com Jan 24 '12 at 19:43
Aptitude has some very powerful searching available. Unfortunately the syntax is a bit unwieldy and you have to dig past the manpage to find the documentation, but its worth it.
apt-show-versions can also be helpful:
There may be a cleaner way, but off the top of my head you can do
Cleanup the first few lines of the
Bonus if anyone can fix my syntax highlighting...