snap install will go get store version instead of sideload
Bug #1593435 reported by
kevin gunn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
So in this instance, I was testing the mir snap, this had been working fine with an image stitched from Jun 14, Jun 15 stitched image it appeared.
i copied over my snap to my vm and attempted to install like so
sudo ./devtools.snap install mir-server_
it unexpectedly began to download from store
i quickly cancelled, and attempted again with relative path like so
sudo ./devtools.snap install ./mir-server_
I stitched a new image today and it continues to pull from the store even tho my desired snap i want sideloaded is present on the vm
To post a comment you must log in.
I'm seeing a similar, I believe, issue.
$ snap --version
snap 2.25
snapd 2.25
series 16
linuxmint 18.1
kernel 4.4.0-75-generic
I have the core_2312.snap already downloaded and stored on /var/lib/ snapd/snaps/ (an NFS mount shared amongst multiple computers).
$ snap info core 8+git261. f737a92 (2349) 85MB -
name: core
summary: "snapd runtime environment"
publisher: canonical
contact: <email address hidden>
description: |
The core runtime environment for snapd
type: core
channels:
latest/stable: 16-2 (2312) 83MB -
latest/candidate: 16-2.26.8 (2329) 84MB -
latest/beta: 16-2.26.8 (2329) 84MB -
latest/edge: 16-2.26.
File already downloaded 81294e264d5c3b0 f9668b1ff16eb96 07c1bcd8b89e86a 3695 core_2312.snap
$ sha256sum core_2312.snap
d29538b2294b6f6
Just downloaded from https:/ /public. apps.ubuntu. com/anon/ download- snap/99T7MUlRht I3U0QFgl5mXXESA iSwt776_ 2312.snap (Snap store, latest "stable") Fgl5mXXESAiSwt7 76_2312. snap 81294e264d5c3b0 f9668b1ff16eb96 07c1bcd8b89e86a 3695 99T7MUlRhtI3U0Q Fgl5mXXESAiSwt7 76_2312. snap
$ sha256sum 99T7MUlRhtI3U0Q
d29538b2294b6f6
When I try `sudo snap install core`, snap tries to re-download the file, even though I already have it. I have a very limited Internet connection, so I download files elsewhere and bring them home to share among my various computers.