Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: jls on November 05, 2011, 03:21:24 PM

Title: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: jls on November 05, 2011, 03:21:24 PM
Am I wrong?
Title: Re: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: roberts on November 05, 2011, 04:23:54 PM
Sorry, could not reproduce. Both uninstalled ondemand and installed ondemand removed their ondemand items.

NMIWS - please.
Title: Re: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: jls on November 06, 2011, 03:21:48 AM
tc@amd333:~$ tce-audit delete tucan
/mnt/sda1/tce/optional/tucan.tcz
/mnt/sda1/tce/optional/librsvg.tcz
/mnt/sda1/tce/optional/libcroco.tcz
/mnt/sda1/tce/optional/pygtk-2.7.tcz
/mnt/sda1/tce/optional/pygobject-2.7.tcz
/mnt/sda1/tce/optional/gobject-introspection.tcz
/mnt/sda1/tce/optional/python.tcz
/mnt/sda1/tce/optional/tk.tcz
/mnt/sda1/tce/optional/tcl.tcz
/mnt/sda1/tce/optional/pycairo-2.7.tcz
/mnt/sda1/tce/optional/pil-2.7.tcz
/mnt/sda1/tce/optional/tesseract.tcz
/mnt/sda1/tce/optional/leptonica.tcz
/mnt/sda1/tce/optional/tesseract-eng.tcz
tc@amd333:~$ tce-remove
/mnt/sda1/tce/optional/tucan.tcz
/mnt/sda1/tce/optional/librsvg.tcz
/mnt/sda1/tce/optional/libcroco.tcz
/mnt/sda1/tce/optional/pygtk-2.7.tcz
/mnt/sda1/tce/optional/pygobject-2.7.tcz
/mnt/sda1/tce/optional/gobject-introspection.tcz
/mnt/sda1/tce/optional/python.tcz
/mnt/sda1/tce/optional/tk.tcz
/mnt/sda1/tce/optional/tcl.tcz
/mnt/sda1/tce/optional/pycairo-2.7.tcz
/mnt/sda1/tce/optional/pil-2.7.tcz
/mnt/sda1/tce/optional/tesseract.tcz
/mnt/sda1/tce/optional/leptonica.tcz
/mnt/sda1/tce/optional/tesseract-eng.tcz

appsaudit still shows tucan in ondemand and I see it also in the flwm ondemand menu
Title: Re: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: roberts on November 06, 2011, 07:23:04 AM
Using appsaudit or using the command line tce-audit tce-remove works as expected with no errors when used as designed.
Please read Tiny Core v3.5 release announcement. There you will see:

* Updated appsaudit to support removing ondemand uninstalled extensions without rebooting.

The key word is uninstalled.

I ran your specific case of tucan and all worked as described and documented when tucan appeared in both wbar and ondemand menu but I had not installed it.

Once an ondemand extension is loaded into the system, i.e., creating all the symlinks and made available for use, then it behaves the same as any onboot extension. The removal will be done upon shutdown to ensure the integrity of the system.

I can only surmise that you had tucan installed/
Title: Re: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: jls on May 08, 2012, 12:31:30 PM
I tried with other non installed extensions and the files doesn't disappear from the ondemand dir.
Could someone else please try?
Title: Re: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand
Post by: jls on May 08, 2012, 12:57:14 PM
Code: [Select]
jls@cel1000:~$ ls /etc/sysconfig/tcedir/optional/e2fsprogs.tcz; which e2fsprogs ; ls /usr/local/tce.installed/e2fsprogs ; tce
-audit delete e2fsprogs ; tce-remove ; which e2fsprogs ; ls /etc/sysconfig/tcedir/ondemand/e2fsprogs ; ls /etc/sysconfig/tced
ir/optional/e2fsprogs.tcz
/etc/sysconfig/tcedir/optional/e2fsprogs.tcz
/etc/sysconfig/tcedir/ondemand/e2fsprogs
ls: /usr/local/tce.installed/e2fsprogs: No such file or directory
/etc/sysconfig/tcedir/optional/e2fsprogs.tcz
/etc/sysconfig/tcedir/optional/e2fsprogs.tcz
/etc/sysconfig/tcedir/ondemand/e2fsprogs
/etc/sysconfig/tcedir/ondemand/e2fsprogs
ls: /etc/sysconfig/tcedir/optional/e2fsprogs.tcz: No such file or directory
jls@cel1000:~$