FS#28242 - [abs] downloads correctly but reports 'ERROR: Download failed'
Attached to Project:
Arch Linux
Opened by Jonathan Vasquez (Cows) - Friday, 03 February 2012, 21:15 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 May 2017, 17:18 GMT
Opened by Jonathan Vasquez (Cows) - Friday, 03 February 2012, 21:15 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 May 2017, 17:18 GMT
|
Details
Description:
When you first install abs, and try to sync, it will download the tarballs and extract them correctly, but it still says ERROR: Download failed. Additional info: * package version(s) ABS 2.4.3 * config and/or log files etc. Steps to reproduce: 1. Download ABS 2. Type `abs` as root in the terminal 3. Watch it download tarballs, and report error (even though it's successful) |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 15 May 2017, 17:18 GMT
Reason for closing: None
Additional comments about closing: Removed from repos
Monday, 15 May 2017, 17:18 GMT
Reason for closing: None
Additional comments about closing: Removed from repos
Is there a preferred solution to accomplish a mapping repository -> (list of architectures)? (I could not find a good solution.)
Quick hackery attached.
And maybe there are other specific reasons why no such file is provided?
$ abs
==> Downloading tarballs...
==> core...
==> extra...
==> community...
==> multilib...
==> ERROR: Download failed
==> Downloading tarballs...
==> core...
==> extra...
==> community...
==> multilib...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The problem is with the following mirror not returning error code (/etc/pacman.d/mirrorlist):
## Score: 8.3, United States
Server = http://archlinux.supsec.org/$repo/os/$arch
Here is the URL abs is trying to download from: http://archlinux.supsec.org/multilib/os/x86_64/multilib.abs.tar.gz
Here is the previous URL for comparison: http://mirrors.tuna.tsinghua.edu.cn/archlinux/multilib/os/x86_64/multilib.abs.tar.gz
Why not make more sensible error message?
as the abs tree is updated at abs invocation
'you should never modify the ABS tree by building within it, as data will be lost (overwritten) on each ABS update. '
https://wiki.archlinux.org/index.php/Abs
http://archlinux.polymorf.fr/multilib/os/x86_64/multilib.abs.tar.gz