PDA

View Full Version : [ubuntu] apt-get - uninstall everything from an arbitrary repository



ansichart
August 27th, 2008, 12:47 AM
I added a third-party source to apt-get, and now I want to remove everything that was installed from that source. How can I do this?

Pro-reason
September 26th, 2008, 05:52 AM
I added a third-party source to apt-get, and now I want to remove everything that was installed from that source. How can I do this?

You should be able to open Synaptic, click on “Origin”, find the repo, and see a list of all packages from that repo. It is then easy to make sure than none are installed.

There's probably some fancy command-line way too.

zxscooby
September 26th, 2008, 06:04 AM
dpkg -l | grep whateversearchtermyouwanttofind
will list packages installed.