WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to fix imcomplete downloads of tcz?  (Read 1861 times)

Offline Star Brilliant

  • Newbie
  • *
  • Posts: 5
How to fix imcomplete downloads of tcz?
« on: January 20, 2011, 11:53:30 PM »
I am using slow Internet connections.

When I was doing tce-load -wi xxx.tcz, the connection broken. And I only downloaded part of one of the depencies of xxx.tcz.
I tried to tce-load again, but I got depency tree broken.
So I have to delete all in TCE directory and do all again.

Under ubuntu, I have just to sudo apt-get install xxx again and it will continue from the point it broken.
But it doesn't work under Tiny Core Linux.
Here is my question: how to fix imcomplete downloads of tcz?
« Last Edit: January 22, 2011, 12:56:11 AM by Star Brilliant »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to fix imcomplete downloads of tcz?
« Reply #1 on: January 20, 2011, 11:58:30 PM »
Use AppsAudit to run an md5sum check.  Delete the problem files and try again.

Offline Star Brilliant

  • Newbie
  • *
  • Posts: 5
Re: How to fix imcomplete downloads of tcz?
« Reply #2 on: January 22, 2011, 12:53:45 AM »
I tried, but it didn't work well. It may cause depency problems.

This is the situation I'm facing when I am installing fcitx-4.0 through AppBrowser.

Here is an example of a depency tree (fcitx-4.0.tree in repo):
Code: [Select]
fcitx-4.0.tcz
   pango.tcz
      glib2.tcz
      libxft.tcz
         fontconfig.tcz
            expat2.tcz
   cairo.tcz
      pixman.tcz
      fontconfig.tcz
         expat2.tcz
      fraphics-libs-1.tcz
   locale-col-zh.tcz
      glibc_gconv.tcz
   xfonts-wqy.tcz
      Xorg-7.5-bin.tcz

Here will be tce-load's behavior:
 - Download fcitx-4.0.dep pango.dep cairo.dep etc
 - Download Xorg-7.5-bin.tcz.md5.txt then .tcz
 - Then xfonts-wqy glibc_conv etc
 - ...

As soon as tce-load is downloading cairo.tcz, the connection breaks.
AppSaudit's MD5 check will report cairo.tcz is incorrect, however, pango.tcz glib2.tcz has not been downloaded.
When I try tce-load -wi fcitx-4.0.tcz again, it will find fcitx-4.0.dep is exist and directly download fcitx-4.0.tcz, instead to download the missing pango glib2 and so on!

Acturlly, my problem is the missing depencies.
Sometimes, the dep files are also missing when downloading, that AppSaudit will not report the missing depency.

I have tried a lot of ways to fix this situation, but they don't work perfectly.

Perhaps updating all the .dep files works sometimes.
« Last Edit: January 22, 2011, 12:55:58 AM by Star Brilliant »