Sorry, can still confirm seeing this happening independently of https://bugs.launchpad.net/snapd/+bug/1980271 with user switching.
"snap refesh firefox" complains if firefox isn't closed by the user and worse, how can a regular user handle this if an other user has firefox running as well? If I understand correctly the solution could be the same (https://github.com/snapcore/snapd/pull/12231) but I don't think this is invalidating this bug but will allow potentially that both will be closed by the same fix. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1985066 Title: cannot refresh snap "firefox": snap "firefox" has running apps (firefox) Status in firefox package in Ubuntu: Confirmed Bug description: Firefox installed via 22.04 snap does not seem to update properly. There is a log line (or error printout on manual execution), but it does not really point me to the actual bug. I already know firefox is running for some other user - that machine is never up and not running firefox - but I do not see how that matters. # snap list firefox Name Version Rev Tracking Publisher Notes firefox 103.0.1-1 1635 latest/stable mozillaâś“ - # snap info firefox | grep latest/stable tracking: latest/stable latest/stable: 103.0.2-1 2022-08-09 (1670) 171MB - # sudo snap refresh firefox error: cannot refresh "firefox": snap "firefox" has running apps (firefox), pids: 19113,19246,19268,19361,19524,19529,19588,19874,20047,20075,20105,20127 # firefox --version Mozilla Firefox 103.0.1 (expected: 103.0.2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1985066/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp