There are two problems:

$ fish_add_path -aP $snap_bin_path
which breaks the fish script startup as the fish_add_path needs a higher fish 
version than 3.1

and a wrong XDG_DATA_DIRS separator (empty space instead of ':')
$ set XDG_DATA_DIRS $XDG_DATA_DIRS $snap_xdg_path
This prevents snap apps from being found in the launcher

The first problem can be fixed by adding the fish ppa to upgrade fish as
suggested here: https://askubuntu.com/questions/1392178/where-should-i-
find-the-fish-add-path-command

The second can be fixed locally by replacing
set XDG_DATA_DIRS $XDG_DATA_DIRS $snap_xdg_path
by
set XDG_DATA_DIRS $XDG_DATA_DIRS:$snap_xdg_path
in /usr/share/fish/vendor_conf.d/snapd.fish

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

Title:
  all snap apps gone after snap upgrade

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to