The issue tracker has been moved https://gitlab.archlinux.org/archlinux/archiso/-/issues
FS#18959 - download_repos.sh does not report tcp timeouts and such
Attached to Project:
Release Engineering
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 04 April 2010, 15:17 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 31 August 2011, 09:51 GMT
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 04 April 2010, 15:17 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 31 August 2011, 09:51 GMT
|
Detailsdownload_repos.sh does wget -nv
if wget gets a 404 (and other http errors, i guess) it nicely says this, and your make output ends like: (..) 2010-04-04 15:06:06 ERROR 404: Not Found. make: *** [core-pkgs] Error 8 however if it cannot connect (tcp timeout or whatever), you just get: make: *** [core-pkgs] Error 4 see: $ wget -nv http://mirror.twilightlair.net/arch/core/os/i686/core.db.tar.gz $ $ wget http://mirror.twilightlair.net/arch/core/os/i686/core.db.tar.gz --2010-04-04 17:11:15-- http://mirror.twilightlair.net/arch/core/os/i686/core.db.tar.gz Resolving mirror.twilightlair.net... 208.92.233.45 Connecting to mirror.twilightlair.net|208.92.233.45|:80... failed: Connection refused. $ I'm not sure what the right approach is.. some ideas: 1) remove the '-nv' and do egrep -v 'Resolving|Connecting' 2) use pacman to get the files for us? (not an option for the $repo.db.tar.gz file i guess) 3) parse the /etc/pacman.d/mirrorlist or modify pacman to return all possible urls on a 'pacman -Sp' 4) "just use a poper mirror", it's not worth it |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Wednesday, 31 August 2011, 09:51 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/archiso.gi t/commit/?id=cb619dfae12f13ba8e70427d518 489f478338a59
Wednesday, 31 August 2011, 09:51 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/archiso.gi t/commit/?id=cb619dfae12f13ba8e70427d518 489f478338a59
Comment by Gerardo Exequiel Pozzi (djgera) -
Tuesday, 30 August 2011, 06:34 GMT
- Field changed: Percent Complete (0% → 90%)
Patch using pacman: http://mailman.archlinux.org/pipermail/arch-releng/2011-August/002102.html