gnome-3-38-2004 can be removed from a system containing a firefox snap with no warning

Bug #2015348 reported by Fedon Kadifeli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Undecided
Unassigned
snapd
New
Undecided
Unassigned

Bug Description

On an Ubuntu 22.10 system, please note the following:

$ snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core 16-2.58.3 14946 latest/stable canonical✓ core
core20 20230308 1852 latest/stable canonical✓ base
firefox 111.0.1-2 2487 latest/stable mozilla✓ -
gnome-3-38-2004 0+git.6f39565 137 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -

$ sudo snap remove gnome-3-38-2004
gnome-3-38-2004 removed

$ firefox
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help none bind,ro 0 0): cannot open directory "/var/lib": permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied
ERROR: not connected to the gnome-3-38-2004 content interface.

$ sudo snap install gnome-3-38-2004
gnome-3-38-2004 0+git.6f39565 from Canonical✓ installed

$ firefox
[ ... runs OK ...]

---

See also this: https://askubuntu.com/questions/1462400/removing-old-and-unneeded-snaps

Fedon Kadifeli (fedkad)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.