[Bug 2017926] Re: Unused content snaps not autoremoved

Launchpad Bug Tracker 2017926 at bugs.launchpad.net
Sun May 7 02:13:57 UTC 2023


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-meta (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/2017926

Title:
  Unused content snaps not autoremoved

Status in snapd package in Ubuntu:
  Confirmed
Status in ubuntu-meta package in Ubuntu:
  Confirmed
Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  $ snap connections --all | grep gnome
  content                   -                                                    gnome-3-28-1804:gnome-3-28-1804                       -
  content                   -                                                    gnome-3-34-1804:gnome-3-34-1804                       -
  content[gnome-3-38-2004]  chromium:gnome-3-38-2004                             gnome-3-38-2004:gnome-3-38-2004                       -
  content[gnome-3-38-2004]  firefox:gnome-3-38-2004                              gnome-3-38-2004:gnome-3-38-2004                       -
  content[gnome-42-2204]    mattermost-desktop:gnome-42-2204                     gnome-42-2204:gnome-42-2204                           -
  content[gnome-42-2204]    snap-store:gnome-42-2204                             gnome-42-2204:gnome-42-2204                           -
  content[gnome-42-2204]    snapd-desktop-integration:gnome-42-2204              gnome-42-2204:gnome-42-2204                           -

  my system has 4 gnome-* content snaps, that were pulled in as
  dependencies. The apps that used them, have moved on to newer
  versions. Something on my system must clean then up for me, for
  example apt autoremoves automatically installed packages & obsolete
  kernels, and so should also happen with snaps.

  It can be done by snapd itself, or by something else on the classic
  desktop - i.e. update-manager. Note it is easy to detect such snaps,
  as it provides no apps; has content interface only; which is not
  plugged by anything. If it is ever needed by any future or past
  revision of any other snap it would be autoinstalled back.

  On my system they take up 824M of disk space (2 revisions, of 2 unused
  content snaps = 4 snaps)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2017926/+subscriptions




More information about the foundations-bugs mailing list