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!
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!
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
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
|
DetailsDescription:
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
Wednesday, 06 October 2010, 14:17 GMT
Reason for closing: Fixed
Additional comments about closing: abs-2.4.1-1
==> 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