Jump to content

How to get the package lists from sources


Go to solution Solved by KingRalph,

11 posts in this topic

Recommended Posts

Posted (edited)

I have a list of repositories and I want to obtain a list of all the packages on that repository.

Is it possible to obtain the .bz2 package list file with only the url of the repo? 

Updated by KingRalph
Posted

I have a list of repositories and I want to obtain a list of all the packages on that repository.

Is it possible to obtain the .bz2 package list file with only the url of the repo?

You mean like:

 

repo.domain.com/Packages.bz2

Posted

You mean like:

 

repo.domain.com/Packages.bz2

Yes

saurik's deb list is open and getting the packages of a repo is considered hacking it

:WHY: All I'm doing is downloading a file from their repo. How can that be considered as hacking?

That's like saying downloading debs from a repo is stealing  :mellow:

Posted

Yes

:WHY: All I'm doing is downloading a file from their repo. How can that be considered as hacking?

That's like saying downloading debs from a repo is stealing  :mellow:

Can't you do it like that?

Posted

Lemme test it :brb:

Keep in mind, you will need to try all these because not all repos are built the same.

 

repo.domain.com/Packages

repo.domain.com/Packages.gz

repo.domain.com/Packages.bz2

  • Solution
Posted

Keep in mind, you will need to try all these because not all repos are built the same.

 

repo.domain.com/Packages

repo.domain.com/Packages.gz

repo.domain.com/Packages.bz2

It worked!

 

KingRalphs-MacBook-Air:~ KingRalph$ wget --no-check-certificate http://rpetri.ch/repo/Packages.bz2

--2015-09-06 19:55:24--  http://rpetri.ch/repo/Packages.bz2

Resolving rpetri.ch (rpetri.ch)... 162.159.241.98, 162.159.240.98

Connecting to rpetri.ch (rpetri.ch)|162.159.241.98|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 8368 (8.2K) [application/x-bzip2]

Saving to: ‘Packages.bz2’

 

Packages.bz2        100%[=====================>]   8.17K  --.-KB/s   in 0s     

 

2015-09-06 19:55:25 (133 MB/s) - ‘Packages.bz2’ saved [8368/8368]

 

 

 

 

Thanks for your help! :D

Posted

It worked!

 

KingRalphs-MacBook-Air:~ KingRalph$ wget --no-check-certificate http://rpetri.ch/repo/Packages.bz2

--2015-09-06 19:55:24--  http://rpetri.ch/repo/Packages.bz2

Resolving rpetri.ch (rpetri.ch)... 162.159.241.98, 162.159.240.98

Connecting to rpetri.ch (rpetri.ch)|162.159.241.98|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 8368 (8.2K) [application/x-bzip2]

Saving to: ‘Packages.bz2’

 

Packages.bz2        100%[=====================>]   8.17K  --.-KB/s   in 0s     

 

2015-09-06 19:55:25 (133 MB/s) - ‘Packages.bz2’ saved [8368/8368]

 

 

 

 

Thanks for your help! :D

Cool! Now you can use commands to extract the archive and list the contents inside the Packages file inside. :)

 

You know what you'll be doing :teehee:

Posted (edited)

Cool! Now you can use commands to extract the archive and list the contents inside the Packages file inside. :)

 

You know what you'll be doing :teehee:

Yes I do :know: Updated by KingRalph

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines