WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Unable to download through AppsBrowser due to modified TCZs  (Read 2709 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
I have edited the start script of fontconfig.tcz (/usr/local/tce.installed/fontconfig) and repacked this extension to decrease boot time by a few secons.
Code: [Select]
#!/bin/sh
#fc-cache -s -f -v


When I try downloading anything that depends on fontconfig, it fails.
Code: [Select]
fontconfig.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on fontconfig.tcz
fontconfig.tcz.md5.txt  is still the original.

Is there a way I can ignore the md5sum check without removing it from the  tce-load  script?
Download a copy and keep it handy: Core book ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #1 on: May 09, 2014, 11:09:32 AM »
Create a new md5.txt file.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #2 on: May 09, 2014, 11:13:09 AM »
Thanks, it's working.

I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.
Download a copy and keep it handy: Core book ;)

Offline mocore

  • Hero Member
  • *****
  • Posts: 509
  • ~.~
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #3 on: May 10, 2014, 02:22:05 AM »
I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.

AFAIK /etc/sysconfig/tcedir/$NAME.tcz.md5.txt is used if already present
(usually after being downloaded from the server or a mirror  via use of 'apps' or 'tce-load' ) 

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #4 on: May 10, 2014, 02:27:53 AM »
I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.

This happens when updating extensions.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #5 on: May 10, 2014, 05:12:56 AM »
To prevent myself from accidentally 'update' my modified fontconfig.tcz, I've now included it into core.gz.

Any script in  /usr/local/tce.installed/  won't be executed anyway if it's not contained in a TCZ extension, correct?
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #6 on: May 10, 2014, 09:31:53 AM »
I have a cure for that!!  Standby


Sent from my iPhone using Tapatalk

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #7 on: May 10, 2014, 10:11:23 AM »
Unfortunately, power saving features don't work on my netbook. Some kind of allergy I guess.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Unable to download through AppsBrowser due to modified TCZs
« Reply #8 on: May 10, 2014, 02:24:26 PM »
lol   pm sent