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

Improve error message when attempting to refreseh a local snap #4190

Closed
sed-i opened this issue Jun 1, 2023 · 1 comment
Closed

Improve error message when attempting to refreseh a local snap #4190

sed-i opened this issue Jun 1, 2023 · 1 comment
Labels
enhancement New features or optimizations

Comments

@sed-i
Copy link

sed-i commented Jun 1, 2023

What needs to get done

I have a snap installed from a local file

$ which obsidian
/snap/bin/obsidian

Now I see it in the store

$ snap info obsidian
name:      obsidian
summary:   Obsidian
publisher: –
store-url: https://snapcraft.io/obsidian
license:   unset
description: |
  Obsidian
commands:
  - obsidian
refresh-date: 2022-08-02
channels:
  latest/stable:    1.3.5  2023-06-01 (12) 113MB classic
  latest/candidate: ↑                            
  latest/beta:      ↑                            
  latest/edge:      ↑                            
installed:          0.15.9            (x1)  77MB -

But if I try to refresh it I get an obscure error message:

$ sudo snap refresh obsidian
error: local snap "obsidian" is unknown to the store, use --amend to proceed anyway

I happen to remember I installed it from file, but the error message could be more informative.

Why it needs to get done

Reduce user confusion around refreshing snaps.

@sed-i sed-i added the enhancement New features or optimizations label Jun 1, 2023
@lengau
Copy link
Contributor

lengau commented Oct 7, 2023

Hi! This looks like something you'd need to ask the snapd team about. I've copied this bug report over to Launchpad and subscribed you to it.

@lengau lengau closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or optimizations
Projects
None yet
Development

No branches or pull requests

2 participants