- Package:
- python-software-properties
- Source:
- software-properties
- Submitter:
- Andre Klärner
- Date:
- 2023-04-19 07:36:09 UTC
- Severity:
- normal
Dear Maintainer, I was recently trying some PPAs from launchpad, that do not have a specific version for Debian suites like wheezy. In most cases they have only a version for some Ubuntu suites. So when I added the repository the next apt-get update run throws an 404 error that the newly added repository is no available. In my opinion it might be better to try if the about to be added suite is existent on the PPA and if not fetch a list of available versions to prompt the user. Regards, Andre
I had a look at what it would take to implement this. It looks like the JSON returned by the PPA API does not include a list of targeted suites. The best that I could see is parsing the HTML from the directory listing of the repository, which is far from optimal. Implementing an option to specify the release may be easier. Regards,
simple thing to check PPA existence: wget -q --spider [PPA_URL]/dists/[DISTRO]/Release