Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Paulo on March 12, 2013, 04:53:18 AM
-
Hello
When I try to download a tcz with a dep which has already been downloaded with another tcz , the download always fails.
Has this been reported before or am I doing something wrong?
Using latest version of coreplus.
Update:
The failed downloads seem to happen with all tcz files that have ncurses as a dep and digging around the usb flash drive used for booting, I found ncurses.tcz in the tce directory.
Before I delete it, should it be there and if not could this be the cause if my woes?
-
Possibly output of
tce-load -iw extension.tcz
could provide some clue.
-
Hi tinypoodle
I have updated my original post with more info.
-
Here is the output from tce-load -iw nginx.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
ncurses.tcz 100% |***************| 160k 0:00:00 ETA
md5sum: WARNING: 62 of 62 computed checksums did NOT match
Downloading: ncurses.tcz
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
ncurses.tcz: FAILED
Error on ncurses.tcz
Strange thing is that in "Apps" under the "Sizs" tab, ncursers.tcz does not have a + next to it
as is not earmarked for downloading (as I already have it), yet the first file it tries to download is ncurses.tcz.
Listing of "Size" tab as follows:
(sorry the tabulation is a bit out).
ncurses-common.tcz 12288, 0.01 MB
ncurses.tcz 151552, 0.14 MB
+ nginx.tcz 241664, 0.23 MB
openssl-1.0.0.tcz 1331200, 1.27 MB
+ pcre.tcz 163840, 0.16 MB
+ readline.tcz 122880, 0.12 MB
Total size (bytes) 2023424, 1.93 MB
+ Indicates need to download 528384, 0.50 MB
-
Do you have the *.tcz.md5.txt files in /tce/optional for the *.tcz's?
-
Aha, I think you hit the nail on the head bmarkus.
There are plenty of md5.txt files there but strangely the ncurses.tcz.md5.txt
exists but is empty.
I never bothered to check it before as I downloaded ncurses when I downloaded Bash
and it's working fine.
Just to confirm, are you saying that the App "downloader" always checks the md5 of the existing deps locally
even though they have already been downloaded before if the new tcz we want to download lists it as a dep?
-
Thank you bmarkus for pointing me in the right direction.
Deleted ncurses.tcz and .md5.txt, downloaded them again and all OK.
-
Thank you bmarkus for pointing me in the right direction.
Deleted ncurses.tcz and .md5.txt, downloaded them again and all OK.
May I advice to spend some time studying APP, the GUI extension manager. There are tool for maintenance and for checking dependencies, md5, etc. Unfortunately there are no good documentation for it, but easy to learn with experimenting.
-
@bmarkus
Absolutely I will.
As you say, the only way to learn is to experiment, and sometimes break things on the way like I did with ncurses. :)
Busy studying the tce-load script, very informative on the finer details of tcz loading and saving
which is a big part of understanding TC.
Thank you for your help and patience with a Linux noob.