Skip to content

[BUG] Trying to use snap automatically installs snapd despite looking like it tries to only suggest that #115

Description

@Lampe2020

Summary

I tried to install Spotify's official Linux client, so I ran sudo snap install, and it prompted me for my password as I expected for installing software (despite the fact that I simply forgot to type sudo…), probably because the shell itself detected I tried to use a command that wasn't installed but it knew how to install.
When it was done with that it told me that if I needed somethign that really was only available as a snap, I should "[…] install it with", then stopped and ran the install command, this time likely from the script that injects that message.

Image

I assume it was meant to display the command to install snapd there, not actually run it, seeign how the message just cuts off and the command starts running on the same line.

Little aside, not really important…(as an aside, running the `snap install` command again with `snapd` now installed but the shell not restarted yet, it said "[…], you can install it with Inget att göra.", which I find funny) Image

Also, little aside inside the little aside, I ticked the two boxes for it only being reproducibel on Ultramarine, since I doubt other distros than Ultramarine will talk about Ultramarine coming with Terra and Flatpak.

Steps to Reproduce

  1. Run snap install spotify (or any other snap install […] command) in the default zsh terminal
  2. Enter password if prompted
  3. Observe

Possible Solutions

If it really just is a shell script/function/command alias injecting that message, make sure the command recommendation is quoted out properly and maybe also that the package isn't automatically installed by the shell before the full message is displayed.

Release Version

44

Edition / Desktop Environment / Hardware

KDE Plasma

Checklist

  • I've checked for duplicates in this repository. (not required)
  • I'm using the immutable/atomic version. (i.e. I think this issue might be specific to immutable.)
  • This issue is not reproducible on Fedora Linux.
  • This issue is not reproducible on other Linux distros.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions