WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED]Problem downloading from repo with existing deps  (Read 3712 times)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
[SOLVED]Problem downloading from repo with existing deps
« 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?
« Last Edit: March 12, 2013, 12:52:48 PM by Paulo »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Problem downloading from repo with existing deps
« Reply #1 on: March 12, 2013, 05:19:03 AM »
Possibly output of
Code: [Select]
tce-load -iw extension.tczcould provide some clue.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Problem downloading from repo with existing deps
« Reply #2 on: March 12, 2013, 05:30:21 AM »
Hi tinypoodle
I have updated my original post with more info.
« Last Edit: March 12, 2013, 05:32:25 AM by Paulo »

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Problem downloading from repo with existing deps
« Reply #3 on: March 12, 2013, 11:52:35 AM »
Here is the output from tce-load -iw nginx.tcz

Code: [Select]
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).

Code: [Select]
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
« Last Edit: March 12, 2013, 12:04:01 PM by Paulo »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Problem downloading from repo with existing deps
« Reply #4 on: March 12, 2013, 12:15:26 PM »
Do you have the *.tcz.md5.txt files in /tce/optional for the *.tcz's?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Problem downloading from repo with existing deps
« Reply #5 on: March 12, 2013, 12:28:08 PM »
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?
« Last Edit: March 12, 2013, 12:32:45 PM by Paulo »

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Problem downloading from repo with existing deps
« Reply #6 on: March 12, 2013, 12:52:22 PM »
Thank you bmarkus for pointing me in the right direction.
Deleted ncurses.tcz and .md5.txt, downloaded them again and all OK.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Problem downloading from repo with existing deps
« Reply #7 on: March 12, 2013, 01:33:39 PM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: [SOLVED]Problem downloading from repo with existing deps
« Reply #8 on: March 12, 2013, 03:24:28 PM »
@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.