Tiny Core Extensions > TCE Q&A Forum
tcz-uninstall.tce - does it have the -f option
Jason W:
The umount is right, but manually umounting a tcz directory in /tmp/tcloop is well outside the normal use of tcz's. I will put a check in there that will use different test cases that will take manual umounting into consideration. I also see a potential bug that can be fixed in the dialog creation.
Jason W:
The /tmp/tcloop direcory being mounted is the crucial info for whether an extension is installed as a tcz. /usr/local/tce.installed does not provide that info. Umounting the /tmp/tcloop/appname directory is essentially breaking the tcz extension install. The files (symlinks) that are removed from the system are determined by reading that directory. And to place further checks in the script that would act in the absence of the /tmp/tcloop/appname directory mount would jeopardize installed tce extensions.
However, using a lazy umount does the same trick as the --force uninstall of the tce-uninstall. I can "umount -l /tmp/tcloop/emelfm2" and still use the emelfm2 binary running in ram, it does not kill the process just makes the app unable to relaunch. That I can live with.
I will add a --force option.
bigpcman:
Jason I just tried the most recently posted tcz-uninstall.tce and the command line worked. I did kill the app process before the uninstall. So that is good news - thanks for the effort.
There is a message that pops out:
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Any idea what causes this?
Edit: I just noticed that after the uninstall completes the tcz-uninstall menu still shows the tcz that was just uninstalled but if it is selected it reports that the tcz is not found.
Juanito:
Something to do with the location of rgb.txt maybe?
Jason W:
The Xlib error shows with a lot of apps when issued from the terminal, wbar I believe is the one that shows it here when being restarted.
I am in the middle of some more improvements since I uploaded the last update. The --force option will be included, some more bugfixes including the tcz-uninstall menu issue just mentioned.
I am still debating on whether to add dependency handling. If it does not slow things down too much, then I will add it in. Tce-uninstall can be miserably slow due to the manner in which it checks for files in use and fetching list files, but tcz-uninstall can obtain the same info on extensions in a small fraction of the time since it has to retrieve nothing and only has to check if mountpoints are being used, not individual files. So no slowdown should occur by adding dep handling, I will test it and see.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version