General TC > Programming & Scripting - Unofficial
A script to aid in troubleshooting Tinycore installations.
Rich:
Hi Rudock1
--- Quote from: Rich on June 17, 2020, 02:12:02 PM ---Hi Rudock1
--- Quote from: Rudock1 on June 17, 2020, 01:44:28 PM --- ... I use syslinux as one of my bootloaders. I added these lines below to your script ...
--- End quote ---
Thank you. I will incorporate those changes later tonight.
--- End quote ---
Updated script uploaded.
gwalther:
Tried script. Very useful collection of info. One issue. Section 9 showed "43 md5 file differences". When i used the APPS application, ....Maintenance...MD5 checking...it showed up as OK. Am I missing something?
gwalther:
Further...tried script on another installation. No issues with MD5 differences. The first try was on a tc 10.1 system...the second try was on a tc 11.1 system. Could the first comparision issue be because the script was comparing my local MD5's from a 10.1 systen with the 11.0 repo?
Rich:
Hi gwalther
--- Quote from: gwalther on June 18, 2020, 12:21:39 PM --- ... One issue. Section 9 showed "43 md5 file differences". When i used the APPS application, ....Maintenance...MD5 checking...it showed up as OK. Am I missing something?
--- End quote ---
The first thing the MD5 test does is compute the MD5s of all of your extensions and saves that data in a file. It then processes each
entry in that file. If there isn't a .md5.txt file that matches the entries tce name, We flag a missing MD5 file:
--- Code: ---Missing md5 files= 1
flash11.tcz.md5.txt
--- End code ---
If there is a .md5.txt file we compare that MD5 against the value we saved. If they don't agree, you'll see something like this:
--- Code: ---Failed md5 checks= 1
libmnl.tcz.md5.txt
--- End code ---
Finally, we compare our computed MD5 against the current MD5 in the repository. Any entries not found in the repo get listed first.
Then any entries not matching the repo get listed. That part looks something like this:
--- Code: ---Local/Repo md5 file differences= 2
foxit_reader.tcz Not in repo
FreeRDP.tcz Mismatch
Local 61026ec2671addad0d8818d90b72abc0
Repo b6f5bc43d01943b07283ebe5ac5fbfd4
boost-1.50-dev.tcz Mismatch
Local 96de970aab063d92baccce5aea3f434f
Repo 6b6520c4ee140755e8fc6ea43e98fae1
--- End code ---
A Not in repo result may be due to a custom extension.
A Mismatch result is likely due to newer versions (updates) of the extension being available in the repository.
Rich:
Hi gwalther
--- Quote from: gwalther on June 18, 2020, 12:37:11 PM ---Further...tried script on another installation. No issues with MD5 differences. The first try was on a tc 10.1 system...the second try was on a tc 11.1 system. Could the first comparision issue be because the script was comparing my local MD5's from a 10.1 systen with the 11.0 repo?
--- End quote ---
That depends. If the installs were on different machines, then no.
If they were on the same machine and you are using the same tce directory for both installs, then yes. Of course you should
never be doing something like that.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version