WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
tce-update - interactive mode vs easy mode
« on: April 03, 2019, 02:21:58 PM »
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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: tce-update - interactive mode vs easy mode
« Reply #1 on: April 03, 2019, 03: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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: tce-update - interactive mode vs easy mode
« Reply #2 on: April 03, 2019, 03: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.