This question is in reference to another question that has not been answered. When I upgraded Ubuntu, all my PPAs were removed (which I'm ok with). Is there a way to list all the packages that no longer have a repository associated with them?
Asked
Active
Viewed 269 times
2 Answers
2
APT refers to these packages as "obsolete".
Evidently there is no direct way to list these, but you could do:
aptitude search '~o'
Or alternatively:
apt-show-versions | grep 'No available version'
Source: How do I get a list of obsolete packages?
If you want a GUI tool you can do this with Synaptic by using the built-in "local or obsolete" filter.
1
In case you don't have aptitude installed any more — several years ago, I uninstalled it and returned to the traditional apt-* tools plus the apt command — this answer to this question suggests that the most modern approach is:
apt list ?obsolete
Which works great on my own Ubuntu laptop, since 24.04 > 19.10 when this was introduced.
Brandon Rhodes
- 1,638