apt-get purge snapd does not clear /var/lib/snapd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
after purge i still have:
$ sudo apt-get purge snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
snapd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 19.0 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 507196 files and directories currently installed.)
Removing snapd (2.0.2) ...
Purging configuration files for snapd (2.0.2) ...
dpkg: warning: while removing snapd, directory '/snap' not empty so not removed
dpkg: warning: while removing snapd, directory '/var/snap' not empty so not removed
dpkg: warning: while removing snapd, directory '/var/lib/
dpkg: warning: while removing snapd, directory '/var/lib/
Processing triggers for man-db (2.7.5-1) ...
asac@bigos:~$ ls -ls /var/lib/snapd/
total 24
4 drwxr-xr-x 3 root root 4096 Apr 22 21:39 apparmor
4 drwxr-xr-x 4 root root 4096 Apr 22 21:37 assertions
4 drwxr-xr-x 3 root root 4096 Apr 22 21:37 desktop
4 drwxr-xr-x 3 root root 4096 Apr 22 21:37 seccomp
4 drwxr-xr-x 2 root root 4096 Apr 22 21:37 snaps
4 -rw------- 1 root root 2403 Apr 22 21:37 state.json
Status changed to 'Confirmed' because the bug affects multiple users.