Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: Lee on July 16, 2009, 01:29:24 PM
-
I put together a little script that basically grabs an entire repo because I get fed up with the issue where appbrowser will hang (or seem to hang) while downloading an extension or one of its dependencies. Yes, I know wget does the actual downloading.
The whole idea of my script may be made obsolete by Mike Lockmoore's post at
http://forum.tinycorelinux.net/index.php?topic=753.0
but the script still provides some validation on the repos as it snarfs them:
In the (1.x) tcz repo, it flagged the following anomalies:
missing .list files for
dosbox.tcz
giblib-1.2.4.tczl
sata_sil-2.6.26.tczm
md5 mismatches for
dia.tczl
fortune-mod.tcz
For anyone who is interested, my script uses wget with ftp to do its downloading and, yes, it does sometimes seem to delay for several minutes. Thus may or may not have any bearing on wget in tc because I'm actually running the script in cygwin on Windows XP.
-
Corrected 1.x.
The fact that your script was delayed several minutes and run from a non TC environment, indicates that internet latency, or DNS issues, are the issue and not a bug in approbrowser, or busybox wget.
And yet the browser/"Cloud" is the future for OS. ::)
-
I haven't tried pointing resolv.conf at the ISP's DNS server as Mike suggested but I'm curious to see if that helps.
Currently, resolv.conf points at "piglet", my old Netgear RT-311, which is a "caching DNS server". That, of course, is pointed at the ISP's DNS server. Hmmm.... Can't wait to get home and poke around a little.