Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

is there a command to see what packages are available from a certain ppa repository?

share|improve this question

3 Answers 3

Simple:

grep ^Package: /var/lib/apt/lists/ppa.launchpad.net_*_Packages 

Or more flexible:

grep-dctrl -sPackage . /var/lib/apt/lists/ppa.launchpad.net_*_Packages 

For fancier querying, use apt-cache policy and aptitude as described here:

aptitude search '~O LP-PPA-gstreamer-developers'
share|improve this answer
grep Package /var/lib/apt/lists/(repo name)_Packages
share|improve this answer
    
You may want to rewrite this (before the UUOC Police catches you) to grep Package /var/lib/apt/lists/(repo name)_Packages –  mivk Nov 23 '12 at 23:03

I don't know if this is what you're looking for:

http://superuser.com/questions/132346/find-packages-installed-from-a-certain-repository-with-aptitude

Like it says, Synaptic Package Manager allows you to search by "origin". This isn't programmatic, but it should give you what you're looking for.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.