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

qt binding for installing snap with specific channel not working #154

Closed
soumyaDghosh opened this issue May 20, 2024 · 2 comments
Closed

Comments

@soumyaDghosh
Copy link

While working on the snap backend of discover, I was trying to implement the option that channels can be mentioned while installing. According to this, the channel just needs to be passed.

But, even with this, the snap is installed from latest/stable only

setRequest(m_client->install(app->packageName(), QStringLiteral("latest/edge")));

or

setRequest(m_client->install(app->packageName(), QStringLiteral("edge")));
@robert-ancell
Copy link
Contributor

Is there a particular snap this is occurring with?

Some things to try:

  • Compare with running the from the command line, e.g. snap install --channel latest/edge <snap name>
  • Does the snap have that channel open? Use snap info <snap name> to check, it might be tracking the channel you chose but there is no snap in that channel.

@soumyaDghosh
Copy link
Author

Is there a particular snap this is occurring with?

Okay, thanks for this lead. It's probably working for only one particular snap. That snap is probably problematic. Thanks a lot for the quick reply! Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants