[SOLVED] Can't Remove Package Installed from Snap

Yesterday, i'm trying install Apache NetBeans 11.1 from Snap through command line. Now, i want to remove/uninstall Apache NetBeans 11.1 through command line using command:
sudo snap remove netbeans
but, failed. Trying to remove using snap-store but same, failed.

logs when uninstall through command line

[sudo] password for ervan:
error: cannot perform the following tasks:

  • Save data of snap "netbeans" in automatic snapshot set #14 (cannot create archive: runuser: failed to execute tar: No such file or directory (and 0 more))

error when uninstall through snap-store

Unable to remove "Apache Netbeans":
cannot perform the following tasks:

What does snap list say on your end?

1 Like

What's the output of pacman -Qi tar

1 Like

Name : tar
Version : 1.32-1
Description : Utility used to store, backup, and transport files
Architecture : x86_64
URL : https://www.gnu.org/software/tar/
Licenses : GPL3
Groups : base
Provides : None
Depends On : glibc acl attr
Optional Deps : None
Required By : engrampa lib32-libltdl libtool
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 2,83 MiB
Packager : Sébastien Luttringer seblu@seblu.net
Build Date : Sab 23 Feb 2019 10:57:07 WIB
Install Date : Rab 14 Agu 2019 04:08:21 WIB
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

1 Like

How about

sudo snap remove netbeans --purge

If that command doesn't work, i dont know what happen. Sorry :frowning:

2 Likes

MasyaAllah, that's work!
Successfully remove without any problem and just for a seconds.
Thanks for your help :slight_smile:

1 Like

No problem m8 :slight_smile: