I changed my makepkg.conf
to:
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
'ftp::/usr/bin/aria2c -UWget %u -o %o'
'http::/usr/bin/aria2c -UWget %u -o %o'
'https::/usr/bin/aria2c -UWget %u -o %o'
# 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
# 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
# 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
And then using aria2c to download the link will only get a index.html
Using raw aria2c link is fine, though. Aria2c will get redirected several times and finally download the right file.
Pinned Comments
Nocifer commented on 2022-05-29 21:54 (UTC) (edited on 2023-08-22 09:33 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).