WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce-update - interactive mode vs easy mode  (Read 1831 times)

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
tce-update - interactive mode vs easy mode
« on: April 03, 2019, 11:21:58 AM »
H all,

working in text console and I'm OK with tce-update "Easy Mode" which grabs everything.  There are times when I'd like to be more selective (like with the Apps Update GUI tool) and I noticed that tce-update has three "interactive mode" cases: list, query and update.  I haven't been able to get them to respond.  There is a $2 that looks like it wants a sub-directory. 

Any guidance?

thx
Billy

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: tce-update - interactive mode vs easy mode
« Reply #1 on: April 03, 2019, 12:22:03 PM »
Hi Rudock1
The source code for  Apps:
https://github.com/tinycorelinux/fltk_projects/blob/master/apps/apps.cxx
shows it using the  list  and  update  modes. The commands appear to be built like this:
Code: [Select]
tce-update list /Path/To/tce/optional/and
Code: [Select]
tce-update update /Path/To/tce/optional/ExtensionName.tcz.md5.txt

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: tce-update - interactive mode vs easy mode
« Reply #2 on: April 03, 2019, 12:33:56 PM »
Hi Rudock1
OK, if you execute:
Code: [Select]
tce-update list /etc/sysconfig/tcedir/optional/you will get a list of extensions that have updates available. If you execute:
Code: [Select]
tce-update update /etc/sysconfig/tcedir/optional/gtk3.tcz.md5.txtit will update the  gtk3.tcz  extension.