Bug #2082384 “snapd leaves behind artifacts after uninstalling a…” : Bugs : snapd

I noticed that it looks like snapd leaves behind artifacts from the snap after the spotify app has been uninstalled. This is unexpected and seems like buggy behavior for a package manager.

On my local system, I see the files which appear to be remnants of the spotify snap, which I would not expect to exist after uninstalling spotify.

$ snap list | grep spotify
$ fd spotify /
/run/udev/tags/snap_spotify_spotify
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/64/spotify-client.png
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/48/spotify-client.png
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/128/spotify-client.png
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/16/spotify-client.png
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/32/spotify-client.png
/snap/gtk-common-themes/1534/share/icons/elementary-xfce/apps/24/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/64/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/32/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/128/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/48/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/16/spotify-client.png
/snap/gtk-common-themes/1535/share/icons/elementary-xfce/apps/24/spotify-client.png
/var/lib/snapd/sequence/spotify.json

The above is obviously not an exhaustive list – this is just the files remaining that contain the name “spotify”.

$ snap –version
snap 2.63.1+24.04
snapd 2.63.1+24.04
series 16
ubuntu 24.04
kernel 6.8.0-45-generic
$ cat /etc/os-release
PRETTY_NAME=”Ubuntu 24.04.1 LTS”
NAME=”Ubuntu”
VERSION_ID=”24.04″
VERSION=”24.04.1 LTS (Noble Numbat)”
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL=”https://www.ubuntu.com/
SUPPORT_URL=”https://help.ubuntu.com/
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Read more here: Source link