FS#61936 - [infra] After Arch Linux Archive cleanup some packages are missing download redirection
Attached to Project:
Arch Linux
Opened by Damyan Dimitrov (damyan) - Thursday, 07 March 2019, 13:22 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 30 April 2019, 18:03 GMT
Opened by Damyan Dimitrov (damyan) - Thursday, 07 March 2019, 13:22 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 30 April 2019, 18:03 GMT
|
Details
Description:
In June 2018 Arch Linux Archive was cleaned up from packages until end of 2016. They got uploaded to archive.org and download redirection is available from archive.archlinux.org. However there are packages which are missing this download redirection. The concrete examples I found are linux and linux-lts packages. For example they are missing here: https://archive.archlinux.org/repos/2016/12/31/core/os/x86_64/ Also versions before 2017 are not available in packages directory: https://archive.archlinux.org/packages/l/linux/ https://archive.archlinux.org/packages/l/linux-lts/ Maybe there are other packages missing and if there is an interest for fixing this for future cleanups I can spend more time investigating and provide more examples with missing packages, which may help identifying the root cause of the issue. |
This task depends upon
I'm asking because the redirection itself doesn't need the package to be listed there. The redirection has only been added so that users can continue to add the archive URL to their pacman mirror config. Pacman will then only download the database and using that it will determine what the package URLs should be. If queried directly, these URLs should work just fine and be redirected to archive.org. However, since we no longer keep the actual files around, the directory listing also no longer shows the file.
An example redirect (trimmed for readability):
> curl -I 'https://archive.archlinux.org/repos/2016/12/31/core/os/x86_64/linux-3.11.2-1-x86_64.pkg.tar.xz'
location: https://archive.org/download/archlinux_pkg_linux/linux-3.11.2-1-x86_64.pkg.tar.xz
If you want to download old versions of any package, you can do so directly on the archive.org website. For example: https://archive.org/download/archlinux_pkg_linux/