WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Files in tcz (1.x) repo  (Read 1923 times)

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Files in tcz (1.x) repo
« 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.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Files in tcz (1.x) repo
« Reply #1 on: July 16, 2009, 02:01:00 PM »
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.  ::)
10+ Years Contributing to Linux Open Source Projects.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Files in tcz (1.x) repo
« Reply #2 on: July 16, 2009, 02:24:38 PM »
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.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar