** Description changed: [SRU] 2.78: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2166403 [Impact] Snapd <2.78 was not cleaning up sequence files on snap removal, leaving behind unnecessary files. [Test Plan] This is sufficiently covered by automated testing https://github.com/canonical/snapd/pull/17429/changes#diff-b80c5941a74e2566d6944e758a3f03c8346884faf1c21d6ba37363bb9b895280 + + Manual steps: + + 1. Install a snap. + 2. Remove the snap. + 3. Verify that on snapd debs <2.78 the snap's sequence file is still in place under /var/lib/snapd/sequence and removed on snapd debs >=2.78 [Where problems could occur] This adds an additional cleanup during snap removal of the sequence files. Sequence files are safe to remove upon snap removal and so represent no risk. ---original--- 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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2082384 Title: snapd leaves behind artifacts after uninstalling apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/2082384/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
