Wednesday, May 8, 2024
35
rated 0 times [  35] [ 0]  / answers: 1 / hits: 23805  / 2 Years ago, fri, november 11, 2022, 8:08:15

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.


More From » package-management

 Answers
7
aptitude search '~o'


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:



apt-show-versions | grep 'No available version'

[#40774] Friday, November 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hirtieve

Total Points: 207
Total Questions: 104
Total Answers: 114

Location: Cook Islands
Member since Thu, May 21, 2020
4 Years ago
hirtieve questions
;