Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: bonbob on December 11, 2017, 06:58:11 AM
-
As i understand tce and tce-load utilities let only install/mount extensions, but not manage installed TCZ's. tce can not show list of extensions on local storage, list of dependences. It can not delete extension, can't even show TCZ info, because INFO-file stay in repository. Honestly, Tiny Core has no packet manager, only small simply tool for loading extension.
Will be some changes in the nearest future?
-
patches to add additional functionality would be gratefully received
-
It can not delete extension ...
FYI
tc@box:~$ tce-audit
Usage: tce-audit { updatedeps | builddb | auditall | fetchmissing | nodepends | notrequired | marked | clearlst } /path/to/tcedir/
tce-audit { dependson | requiredby | audit | delete } /path/to/tcedir/extension.tcz
tce-audit { remove }
tc@box:~$ tce-audit delete squashfs-tools.tcz
getFlash.tcz
getlocale.tcz
submitqc.tcz
squashfs-tools.tcz cannot be deleted.
That means squashfs-tools.tcz cannot be deleted because it's a dependence of getFlash, getlocale and submitqc.
If no message returned, rebooting the machine would delete the requested extension(s).
-
I'll Try to use tce-audit. I did not know about it. Thanks! :)
-
Did you try APPS ?
tce can not show list of extensions on local storage, list of dependencies. It can not delete extension, can't even show TCZ info
APPS is the Tinycore Extension Manager, it performs all the above and more...
Sent from my iPhone using Tapatalk
-
root@TCL:~# tce-audit notrequired /etc/sysconfig/tcedir/
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file
The following are NOT required by any other extensions:
for any action tce-audit says that can not find tce.lst. For what is this file?
-
Run "tce-audit builddb", that's a necessary step for most of the other functions. You don't need to pass the directory if using the default, like you are.
-
Perhaps an option in tce-load to download the list and info files for an extension, just as a starting point? I used to do that with a script but it turned out I pretty much never used those files anyhow... I had thought to write some additional utility scripts but it's still on my ever growing to-do list.
-
There's a helper script, tce-fetch.sh, that can be used. "tce-fetch.sh nano.tcz.info" will download that to the current dir.
-
I found the existing tce scripts give you all the tools to maintain extensions.
Incomplete list of tinycore command line tools.
Command Function
ab browse local and remote applications
tce browse local and remote applications
tce-ab browse local and remote applications
tce-audit
tce-fetch.sh
tce-load load local applications
tce-remove allow removal of uninstalled (OnDemand) extensions via tce-audit
tce-run download and run applications
tce-setdrive
tce-setup
tce-size show total size of extension and dependencies
tce-update
tcemirror.sh
Pasted from http://wiki.tinycorelinux.net/wiki:tc_commands
-
Clearly, I need to pay more attention to these things - I'm getting behind the curve. :(
-
I believe some of these commands are mainly intended for being used internally.
-
Some aren't very user-friendly, but they're all good to use from CLI if you don't want to use Apps.