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
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Florian Pritz (bluewind)
Jelle van der Waa (jelly)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Florian Pritz (bluewind)
Tuesday, 30 April 2019, 18:03 GMT
Reason for closing:  Not a bug
Comment by Florian Pritz (bluewind) - Thursday, 25 April 2019, 10:30 GMT
I'm not quite sure what you think is wrong here, but here's my understanding: The problem that you have is that you expect a link to a "linux-xxx.pkg.tar.xz" package on the https://archive.archlinux.org/repos/2016/12/31/core/os/x86_64/ page, correct?

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/
Comment by Damyan Dimitrov (damyan) - Tuesday, 30 April 2019, 06:45 GMT
Thanks Florian for the explanation. And sorry for the misunderstanding from my side about the redirection. Everything is clear now.

Loading...