Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
error: snapctl requires SNAP_CONTEXT environment variable #1294
Comments
|
@mantri, would you please let us know which release of Snap has you used and the steps for reproducing this error? |
kindermoumoute
added
the
type/question
label
Oct 18, 2016
marianoguerra
commented
Oct 18, 2016
|
download latest release from releases page (v0.16.1-beta) unpack, run
and try to run any command with snapctl from the getting started guide. using ubuntu 16.04 |
|
@marianoguerra, I was not able to reproduce your issue on ubuntu14.04. We'll see on ubuntu 16.04. |
|
Looks like ubuntu core snapd packaging added a snapctl command:
This command does not appear to be documented, nor does it include a man page. snapctl command was introduced to Ubuntu snapd package for version 2.13 on 2016-08-29. This is unfortunately clobbering the snapctl command you downloaded. cc: @mjbrender we may need to rename our binaries... |
marianoguerra
commented
Oct 18, 2016
|
yep, found out the same before seeing the last comment, I never installed snapd so it seems to come by default, I had your snap after this one in the path so it was picking it up instead of yours. at least a note in the getting started section about setting path correctly and being careful with copying this binaries in /usr/bin |
marianoguerra
closed this
Oct 18, 2016
|
Reopening because your comment on catching this in getting started section is valid. We also like hints in the error message also which would help here. We will close this when we resolve both. Thanks for catching this. |
lynxbat
reopened this
Oct 18, 2016
nanliu
referenced this issue
Oct 18, 2016
Merged
(SDI-2092) Update README Getting started section #1284
bjray
added
type/bug
and removed
type/question
labels
Nov 3, 2016
snapbot
added
the
tracked
label
Nov 3, 2016
mbbroberg
referenced this issue
Nov 11, 2016
Closed
Snap binary names conflict with Ubuntu Snap #1344
|
Issue is documented in #1284 - thanks again for bringing this up @marianoguerra. Also, so good to see you in here! #1344 will handle the resulting binary names. |
marianoguerra commentedOct 18, 2016
following the getting started guide from the readme when I try running snapctl I get that error
googling there's no information about that env variable and what value it should have