A response to call_for_testing_snapd_2325_in_systemsnappy
snap 2.32.5-1.1
snapd 2.32.5-1.1
series 16
opensuse 20180410
kernel 4.16.0-1-default
Here my test results
-
When installing this snap with --classic --dangerous
flags and run it, I get (the snap works otherwise):
fish: Could not set up terminal.
fish: TERM environment variable set to ‘xterm-256color’.
fish: Check that this terminal type is supported on this system.
fish: Using fallback terminal type ‘ansi’.
Info: The fish-snap gets started from /usr/bin/fish
.
- When updating
snapd
the package always reports a conflict error and I have manually to confirm that I want the snapd
package to replace the previous version by typing “yes”. No other package on my system prints such an error message. Beside from the first point, snapd
works.
2 Likes
About 1, since the snap uses classic confinement (that is, no confinement, no isolation) there’s probably something that it assumes about the host that doesn’t work for openSUSE. That’s a downside of classic confinement, that apps behave differently on different systems. You can report this issue to the maker of that specific snap and see if it can be resolved.
About 2, can you please tell me how such a warning looks like? I haven’t seen it before.
Did you download the .rpm manually or did you add the repository with zypper?
Ah, I see. The snap-confine
package has been merged into snapd
now so you should be able to simply remove it.
As for the first issue. I suspect your snap is loading termcap database and that the location is different on different systems.
Yep, after removing snap-confine
the error is gone. Maybe auto-remove snap-confine
automatically with an update, since I guess I’m not the only long-term-snapd-package-user on Tumbleweed.
1 Like
Thank you for the feedback. I will look into making snap-confine upgrades painless.
2 Likes
Found one more issue.
When using fish shell the snap binaries are not in $PATH. Things work fine when using bash.
Maybe fish is not picking up /etc/profile.d/snapd.sh
or you overwrite the path somewhere in your local config?
I think fish needs a dedicated configuration file. Last time I looked at that (>> year ago) it seemed to be the case.
You are right, fish is not reading /etc/profile.d
. I guess there should be a file in /usr/share/fish/vendor_conf.d with the content: set -gx PATH /snap/bin $PATH