Public bug reported:
The recent 2.54.3+18.04 update made for ubuntu bionic provides a
`/usr/share/fish/vendor_conf.d/snapd.fish` file which does not seem
compatible with the version of the fish shell shipped on this
distribution release (2.7.1).
Here are the error message obtained when starting the fish shell with
the new snapd package:
```
fish: Unknown command 'fish_add_path -aP /snap/bin'
/usr/share/fish/vendor_conf.d/snapd.fish (line 3):
fish_add_path -aP $snap_bin_path
^
from sourcing file /usr/share/fish/vendor_conf.d/snapd.fish
called on line 250 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish
called during startup
fish: Unknown command '! contains /var/lib/snapd/desktop'
/usr/share/fish/vendor_conf.d/snapd.fish (line 9):
if ! contains $snap_xdg_path $XDG_DATA_DIRS
^
from sourcing file /usr/share/fish/vendor_conf.d/snapd.fish
called on line 250 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish
called during startup
```
I use the bionic container on Github Action to check the behavior of my
project (https://github.com/cea-hpc/modules) against fish shell.
Somehow, snapd is included on this container. Things were fine until
yesterday morning. Unfortunately I cannot identify the previous version
of snapd used, as it seems to be installed prior any specific
installation made for my test in the CI environment.
Commit
https://github.com/snapcore/snapd/commit/2a94f057cfe52f004ba6dd60cd9d8646080118fe
may help to fix this issue. Package on bionic should be updated to
include this fix. Strange things is that the fixed file is said to be
part of 2.54, but the 2.54.3+18.04 package on bionic still contain the
previous code.
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1961365
Title:
2.54.3+18.04 update on bionic breaks fish shell
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1961365/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs