Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Rudock1 on April 03, 2019, 02:21:58 PM

Title: tce-update - interactive mode vs easy mode
Post by: Rudock1 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
Title: Re: tce-update - interactive mode vs easy mode
Post by: Rich 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
Title: Re: tce-update - interactive mode vs easy mode
Post by: Rich 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.