Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21038 - [abs] fails to get tarball

Attached to Project: Arch Linux
Opened by Dmitri Sosnik (dimavs) - Sunday, 03 October 2010, 02:06 GMT
Last edited by Allan McRae (Allan) - Wednesday, 06 October 2010, 14:17 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
abs fails to get tarball

Additional info:
* package version(s)
2.4.0-1
* config and/or log files etc.


Steps to reproduce:
start abs for the first time


PS Looks like $arch is undefined in update_tarball()
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 06 October 2010, 14:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  abs-2.4.1-1
Comment by Allan McRae (Allan) - Sunday, 03 October 2010, 02:13 GMT
Please post some actual output.
Comment by Dmitri Sosnik (dimavs) - Sunday, 03 October 2010, 02:20 GMT
That's an actual output:
==> Downloading tarballs...
==> testing...
==> ERROR: Download failed
==> core...
==> ERROR: Download failed
==> extra...
==> ERROR: Download failed


This patch works for me:
--- /usr/bin/abs 2010-10-02 17:24:43.000000000 +1000
+++ abs 2010-10-03 13:17:13.277843452 +1100
@@ -168,7 +168,7 @@

ret=0
for mirror in ${mirrorlist[@]}; do
- tarball=$(echo $mirror | sed "s#\$repo#$repo#;s#\$arch#$arch#")
+ tarball=$(echo $mirror | sed "s#\$repo#$repo#;s#\$arch#$ARCH#")
tarball="${tarball}/${repo}.abs.tar.gz"
protocol=$(echo $tarball | cut -f1 -d":")
if [ "$protocol" == "file" ]; then

Comment by Allan McRae (Allan) - Sunday, 03 October 2010, 02:26 GMT
Of course... thanks. 2.4.1 will be out soon.

Loading...