A friend came to me with an Ubuntu question I didn't have a quick one-off answer for, so I present it to SF: How can I list all the packages available from a given apt repository? Example, all the packages in the Canonical partners repo.
|
feedback
|
|
download the Packages file(s) and pipe it/them through something like: bzcat Packages.bz2 | egrep '^($|Package:|Version:)' or, if a simple grep isn't good enough, use grep-dctrl to extract the info you need from the downloaded Packages files. | |||
|
feedback
|
|
Here's an ugly solution, but its advantage is that it allows you to browse the repository using your favorite tools (aptitude, Synaptic, etc):
| |||
|
feedback
|