Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 17166  / 2 Years ago, wed, november 24, 2021, 11:45:08

I just added a ppa like so:



sudo add-apt-repository ppa:stebbins/handbrake-releases


Now, how do I get to see which packages this PPA contains?


More From » ppa

 Answers
2

I'm sure there is many ways to do this - since you have added the PPA, the package details exist in /var/lib/apt/lists


Thus for your example ppa:stebbins/handbrake-releases


substitute / for an _ and remove the prefix ppa: i.e. stebbins_handbrake-releases


Then just use this repositoryname in the following command line entry:


cat /var/lib/apt/lists/ppa.launchpad.net_[repositoryname]_*_Packages | grep "Package:" | sort | uniq

i.e.


cat /var/lib/apt/lists/ppa.launchpad.net_stebbins_handbrake-releases_*_Packages | grep "Package:" | sort | uniq

On newer versions of Debian the Packages file is LZ4 compressed, so you'll need to apt-get install liblz4-tool and then insert an lz4cat step into your pipeline to decompress it:


lz4cat /var/lib/apt/lists/ppa.launchpad.net_stebbins_handbrake-releases_*_Packages | grep "Package:" | sort | uniq

This will list the contents:


Package: handbrake-cli
Package: handbrake-gtk

[#34906] Friday, November 26, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rtbrbab

Total Points: 461
Total Questions: 126
Total Answers: 117

Location: Saudi Arabia
Member since Fri, Jul 1, 2022
2 Years ago
rtbrbab questions
Fri, May 5, 23, 14:22, 1 Year ago
Tue, Nov 16, 21, 14:41, 2 Years ago
Thu, Mar 23, 23, 20:47, 1 Year ago
Sat, Jun 18, 22, 21:36, 2 Years ago
;