WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] new llvm19-lib.tcz breaks local mirrors  (Read 481 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1864
[Solved] new llvm19-lib.tcz breaks local mirrors
« on: May 01, 2026, 10:23:43 AM »
Hi Juanito, Rich, and friends. I synced my local TCL mirror to the official repo today and I saw an updated llvm19-lib.tcz trickle in along with a few other new or updated extensions.

My TCL laptops are unable to update llvm19-lib when using my local mirror. This command never returns:

Code: [Select]
laptop$ tce-update
...
Checking Tiny Core Applications in /mnt/sda1/tce/optional
Updating llvm19-lib.tcz

My http server log quickly fills up with entries like this:
Code: [Select]
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
...
If I manually edit the .md5.txt of other extensions on my laptop to bogus md5sums, those extensions can be successfully updated from the local mirror.

If I use the official repo, llvm19-lib can be successfully updated.

There seems to be something about the updated llvm19-lib.tcz that breaks local mirrors. Any ideas?
« Last Edit: June 16, 2026, 08:22:09 PM by Rich »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1864
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #1 on: May 01, 2026, 11:29:02 AM »
I can no longer reproduce my problem, after reproducing it about a dozen times including after reboots.

Strange, but I guess the problem went away on its own somehow.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15657
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #2 on: May 01, 2026, 12:08:44 PM »
The main repo takes time to sync with the mirrors?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1864
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #3 on: May 01, 2026, 12:29:22 PM »
Hi Juanito. That's not it. I sync the local mirror by manually running  rsync  on my server. I wait for rsync to finish before I attempt to update my TCL machines that use the local mirror.

I'll keep an eye on this. If it happens again I'll investigate further and will post here.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12847
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #4 on: May 01, 2026, 08:48:26 PM »
Hi GNUser
... My http server log quickly fills up with entries like this:
Code: [Select]
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
Fri 5/1/26 10:12AM,/tinycorelinux/17.x/x86_64/tcz/llvm19-lib.tcz,200,198.44.159.34
 ----- Snip -----
...
That  200  looks like it may be an HTTP 200 OK status code. Maybe it's lying?
Also, I Googled that IP address and it came back as blacklisted by a couple of sites.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1864
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #5 on: May 02, 2026, 04:54:05 PM »
That  200  looks like it may be an HTTP 200 OK status code. Maybe it's lying?
Yes, 200 means HTTP OK. I agree that it must be a lie here. Good observation.

Also, I Googled that IP address and it came back as blacklisted by a couple of sites.
I use VPN for privacy. A lot of sites blacklist VPN IPs, so finding my IP on a blacklist is not surprising. However, this would not explain my problem--I do not block VPN IPs (or any IPs, for that matter) from accessing my http server.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1864
Re: new llvm19-lib.tcz breaks local mirrors
« Reply #6 on: June 16, 2026, 03:25:24 PM »
I had a similar problem today when a different extension was being updated. Based on my http server's logs, I realized that the problem had nothing to do with the specific extension. The problem had to do with broken  zsync  support in my http server.

If mirror uses http (i.e., not https) and zsync is present on the TCL box being updated (zsync is part of the base system, so theoretically is always present unless user deletes it), then  tce-update  defaults to using  zsync  when updating extensions due to this line in /usr/bin/tce-update:
Code: [Select]
[ "$MIRRORPROTO" == "http" ] && [ -n "`which zsync`" ] && USEZSYNC=yes

Once I fixed my http server to correctly handle zsync transfers (see https://forum.tinycorelinux.net/index.php?topic=28140.msg182931#msg182931), then all zsync-related problems went away.

This thread is solved.


« Last Edit: June 16, 2026, 03:29:32 PM by GNUser »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12847
Re: [Solved] new llvm19-lib.tcz breaks local mirrors
« Reply #7 on: June 16, 2026, 08:24:30 PM »
Hi GNUser
Marked as solved.