WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] minor issue for Apps when update fails  (Read 4476 times)

aus9

  • Guest
[SOLVED] minor issue for Apps when update fails
« on: September 05, 2016, 09:06:30 AM »
Hi

I have used the main mirror, when gui=Apps fails to get the update, I wonder if the message
"Updates complete. Reboot to effect" is correct if only one file is to be updated and it fails?


as this update was a few seconds ago I also tried

Code: [Select]
tce-update
Checking for Easy Mode Operation... OK

Press Enter key to begin batch update of extensions in /sda1/tce
or enter any char to exit now:
Checking Tiny Core Applications in /mnt/sda1/tce/optional
Error Could not verify firefox.tcz
Updating pcre.tcz Failed
Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst

cat /tmp/upgrade_errors.lst
# no contents

firefox is generated from Coreplayer's get script

I am not fussed if the Apps message appears that way or not but thought I would report it in case the repo also needs to be checked for that pcre package?

cheers
« Last Edit: September 08, 2016, 08:29:02 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: minor issue for Apps when update fails
« Reply #1 on: September 05, 2016, 09:42:00 AM »
The pcre files appear to be OK in the tc-7.x x86 repo - maybe it was just a glitch in the download?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minor issue for Apps when update fails
« Reply #2 on: September 05, 2016, 10:00:14 AM »
Same fail output here.
Download a copy and keep it handy: Core book ;)

aus9

  • Guest
Re: minor issue for Apps when update fails
« Reply #3 on: September 05, 2016, 07:56:42 PM »
this morning can't get access

Code: [Select]
tce-update
wget: download timed out
Could not fetch md5 database.

I see a recent post suggesting server may be down.

but I am replying as I failed to check /tmp and in first post the cat command failed as it truly had no such file but the filename in /tmp was different.

/usr/bin/tce-submit

line 199 +
Quote
# Main
cd /tmp
ERRLIST="upgrade_errors.lst"
> "$ERRLIST"

line 264 +
Quote
cd /tmp
ERRLIST="tce-update-err.lst"
> "$ERRLIST"

line 280 +
Quote
if [ -s "$ERRLIST" ]; then
   echo -n "${RED}Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst${NORMAL}"; read junk
   less /tmp/upgrade_errors.lst

aus9

  • Guest
Re: minor issue for Apps when update fails
« Reply #4 on: September 08, 2016, 01:18:51 AM »
sorry to harp on about it, but I am back to using main mirror and still can not update pcre

apps update says pcre is a candidate to be processed but its failing.
There is no information against one file in tmp as prev discussed
-rw-r--r--   1 tc   staff      0 Sep  8 13:10 upgrade_errors.lst

the other file says
Code: [Select]
cat /tmp/tce-update-err.lst

Error occurred. pcre.tcz Not updated!

EDIT

just then I was able to do
Code: [Select]
wget -c http://www.tinycorelinux.net/7.x/x86/tcz/pcre.tcz
Connecting to www.tinycorelinux.net (89.22.99.37:80)
pcre.tcz             100% |******************************************|   184k  0:00:00 ETA
tc@box:~$ wget -c http://www.tinycorelinux.net/7.x/x86/tcz/pcre.tcz.md5.txt
Connecting to www.tinycorelinux.net (89.22.99.37:80)
pcre.tcz.md5.txt     100% |******************************************|    43   0:00:00 ETA

EDIT 2
looks like I have the update manually

Code: [Select]
* I am at home/tc for commands with a sym link to my tce/optional
cat pcre*txt
608290d77d96a31e871d536ea2630fea  pcre.tcz
tc@box:~$ cat optional/pcre*txt
79f60f239e13a7a47aa6767093b9e150  pcre.tcz

EDIT 3
full reboot of PC and re-ran tce-update and now I get
Quote
Your system is up-to-date

so it appears for anyone having trouble updating pcre, YMMV try the wget commands above
optional ...backup current pcre packages and then copy downloads into TCZ dir and reboot to test

hope that helps someone ?


« Last Edit: September 08, 2016, 01:31:25 AM by aus9 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: minor issue for Apps when update fails
« Reply #5 on: September 08, 2016, 03:57:43 AM »
pcre's zsync file was not updated for some reason. Fixed.
The only barriers that can stop you are the ones you create yourself.

aus9

  • Guest
Re: minor issue for Apps when update fails
« Reply #6 on: September 08, 2016, 04:28:40 AM »
great thanks for your looking into this

Mods pls mark as solved when you get a chance