WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [4.1rc1] removing an extension using appsaudit (mark for deletion) doesn't delete it in ondemand  (Read 6578 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
« Last Edit: November 05, 2011, 06:22:56 PM by jls_legalize »
dCore user

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Sorry, could not reproduce. Both uninstalled ondemand and installed ondemand removed their ondemand items.

NMIWS - please.
10+ Years Contributing to Linux Open Source Projects.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
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
dCore user

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
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/
« Last Edit: November 06, 2011, 10:24:53 AM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
I tried with other non installed extensions and the files doesn't disappear from the ondemand dir.
Could someone else please try?
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
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:~$
dCore user