9

I have a link to a 3rd party package repository, for example something like this:

http://eddie.website/repository/apt stable main

There is a particular package available from this repository (for example, one of the packages in this repo is airvpn).


How can I find out which versions of Ubuntu this particular package (and, similarly, other packages from any other 3rd party repos) is built for ?

I'd like to do this to find out if software I'm using already available on 18.04, or which older versions of Ubuntu are still supported by the software. It seems like I need to look at the "release" files in the repository, how do I get to them, and where is the info I need ?

  • 3
    I would say there is no simple answer to your question. Not all repo's are structured by the Ubuntu release (and they shouldn't be, since some apps work on various distributions). Having all of this in mind, one can check the the app version by apt cache. In your case: if eddie.website is in your ppa you can always do apt-cache policy airvpn or apt-cache show airvpn or apt-cache showpkg airvpn. This will yield version of the package and some basic info about it. – Jacek Herbrych Mar 18 '18 at 16:00
  • 1
    @JacekHerbrych Please post your comment as an answer. – fosslinux Mar 20 '18 at 22:43
6
+50

Repos are structured to have the release name in the 'dists' folder.

For example, the deb line deb http://ftp.de.debian.org/debian/ wheezy main will pull in packages from http://ftp.de.debian.org/debian/dists/wheezy/main/.

To find out what releases a repo supports, you can normally just navigate to the dists folder of that repo (in this case http://ftp.de.debian.org/debian/dists/) in a web browser, which will display the directory listing.

As you mentioned, you can also gather additional information from the Release file within the dist folder. Using http://ftp.de.debian.org/debian/dists/wheezy/Release as an example, we can see that this dist is for the Debian release codenamed 'wheezy', which corresponds to version 7.11. You can also see the supported architectures and components from their respective fields.

4

I would say there is no simple answer to your question. Not all repo's are structured by the Ubuntu release (and they shouldn't be, since some apps work on various distributions). Having all of this in mind, one can check the the app version by apt cache. In your case: if eddie.website is in your ppa you can always do apt-cache policy airvpn or apt-cache show airvpn or apt-cache showpkg airvpn. This will yield version of the package and some basic info about it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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