Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support snap aliases #9

Open
anonymouse64 opened this issue Jul 12, 2020 · 0 comments
Open

Support snap aliases #9

anonymouse64 opened this issue Jul 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anonymouse64
Copy link
Contributor

Using snap aliases with snap run is currently not supported, observe:

$ snap install test-snapd-glxgears 
$ snap run test-snapd-glxgears
error: cannot find app "test-snapd-glxgears" in "test-snapd-glxgears"
$ snap alias test-snapd-glxgears.glxgears test-snapd-glxgears
error: cannot perform the following tasks:
- Setup manual alias "test-snapd-glxgears" => "glxgears" for snap "test-snapd-glxgears" (cannot enable alias "test-snapd-glxgears" for "test-snapd-glxgears", it conflicts with the command namespace of installed snap "test-snapd-glxgears")
$ snap alias test-snapd-glxgears.glxgears glxgears
Added:
  - test-snapd-glxgears.glxgears as glxgears
$ snap run glxgears
error: cannot find current revision for snap glxgears: readlink /snap/glxgears/current: no such file or directory

The only way to currently do this is to specify the /snap/bin/ program and omit --use-snap-run.

@anonymouse64 anonymouse64 self-assigned this Jul 12, 2020
@anonymouse64 anonymouse64 added the enhancement New feature or request label Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant