martinpaljak / GlobalPlatformPro

🌐 🔐 Manage applets and keys on JavaCard-s like a pro (via command line or from your Java project)
https://javacard.pro/globalplatform
GNU Lesser General Public License v3.0
673 stars 210 forks source link

Deletion not allowed. Some app still active? - is it possible to delete a package or an applet #300

Closed venkateshkumartvk closed 1 year ago

venkateshkumartvk commented 2 years ago

Hi

I have been programming with GP and I guess i have some issues while uninstalling an applet. When I try to delete/ force delete the applet I get the error message "Deletion not allowed. Some app still active?"

I have tried to remove the package, which also results with the same response (status word 6F00 & 6985). The applet is in SELECTABLE state and continues to work. Is there anyway I can remove this applet/ package from the card ? I understand there might be some dependencies hanging in the card somewhere, but dont know how to identify and fix it.

Any pointers would help. Thanks in advance Venks

martinpaljak commented 2 years ago

Not all cards support deletion. Do report issues like README recommends

venkateshkumartvk commented 2 years ago

Wow, thats a quick response, thanks. This is a GP v 2.2. Is there any other way to find if it supports delete or not ?

martinpaljak commented 1 year ago

Will you provide a full log of the issue (with -ldvi added) ?

martinpaljak commented 1 year ago

Stale.