I'm affected by this problem as well: snap shows one app which should be
refreshed, but then refuses to refresh and claims there are still
processes running. Looking into the process list, not a single of the
listed PIDs is used.


ads@diamond:~$ uname -a
Linux diamond 6.2.0-32-generic #32-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 14 
10:03:50 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

ads@diamond:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar

ads@diamond:~$ snap refresh --list
Name      Version  Rev  Size   Publisher   Notes
obsidian  1.4.13   18   114MB  obsidianmd  classic

ads@diamond:~$ snap refresh obsidian
error: cannot refresh "obsidian": snap "obsidian" has running apps (obsidian), 
pids:
       2531439,2531440,2531441,2531442

ads@diamond:~$ ps auxwf | grep -E '2531439|2531440|2531441|2531442'
ads      2550804  0.0  0.0   9568  2560 pts/14   S+   22:47   0:00  |   |       
\_ grep -E 2531439|2531440|2531441|2531442


In the meantime, the reminder about refreshing the app pops up constantly, but 
offers no options to solve the problem. I agree with @osomon that this is a 
horrible user experience.

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to