snap can't be installed once pushed to the store
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Invalid
|
Undecided
|
Unassigned | ||
Software Center Agent |
Fix Released
|
High
|
Unassigned |
Bug Description
After successfully pushing a snap to the store I was unable to install it.
Here's what I did:
1. Created a new snap called "juju-menno".
2. Registered the name (snapcraft register juju-menno)
3. Pushed the snap (snapcraft juju-menno_
4. Logged in to the store and saw that the snap was there. It was listed Public and Published.
5. Attempted to install the snap:
$ snap install --edge --devmode juju-menno
error: cannot perform the following tasks:
- Download snap "juju-menno" from channel "edge" (snap not found)
$ sudo snap install --edge --devmode juju-menno.menno
error: cannot perform the following tasks:
- Download snap "juju-menno.menno" from channel "edge" (snap not found)
6. noodles ended up helping me. He clicked Reindex and then the snap was available.
<noodles> I didn't change anything about your revision. The only thing I did do was "Reindex" - not sure why it wouldn't have been indexed correctly the first time :/
<menn0> noodles: before, that was giving me a "snap not found"
<noodles> Yeah, I saw the same, verifyied that I couldn't see any results when querying the index directly, so tried reindexing.
I would have expected the snap to be installable without extra intervention.
description: | updated |
The rocketchat crew are hitting this occasionally as well. I verified that the push --released snap was displayed in myapps as being published in stable, but required a re-index before it showed up in the snap index:
http:// paste.ubuntu. com/23381379/
The script being used to release there is at:
https:/ /github. com/RocketChat/ Rocket. Chat/blob/ develop/ .travis/ snap.sh
I'm adding snapcraft to this just for notification, but it's almost certainly an intermittent issue in myapps. developer. ubuntu. com (most likely, not handling failure cases).