Hi,
I use the hello example on the tutorial. but ...
fabien@fabien-TERRA-MOBILE-1749S:~/Téléchargements/snap/myapp$ snapcraft
Launching a VM.
Launched: snapcraft-myhello
2019-12-13T08:50:46Z INFO Waiting for restart...
core 16-2.42.5 from Canonical✓ installed
snapcraft 3.8 from Canonical✓ installed
core18 20191126 from Canonical✓ installed
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [593 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
...
et:31 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4028 B]
Get:32 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1856 B]
Fetched 20.0 MB in 16s (1234 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
[Errno 1] Operation not permitted: 'snap/snapcraft.yaml'
We would appreciate it if you anonymously reported this issue.
No other data than the traceback and the version of snapcraft in use will be sent.
Would you like to send this error data? (Yes/No/Always/View) [no]: yes
Thank you, sent.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
fabien@fabien-TERRA-MOBILE-1749S:~/Téléchargements/snap/myapp$ ^C
fabien@fabien-TERRA-MOBILE-1749S:~/Téléchargements/snap/myapp$ snapcraft debug
Usage: snapcraft [OPTIONS] COMMAND [ARGS]...
Try "snapcraft -h" for help.
Error: No such command "debug".
fabien@fabien-TERRA-MOBILE-1749S:~/Téléchargements/snap/myapp$ snapcraft --debug
Launching a VM.
Could not find snap/snapcraft.yaml. Are you sure you are in the right directory?
To start a new project, use `snapcraft init`
snapcraft-myhello # ls
project snap
snapcraft-myhello # exit
exit
GNU nano 4.3 snap/snapcraft.yaml
name: myhello # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
hello:
command: bin/myhello
parts:
gnu-hello:
source: http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz
plugin: autotools
on kubuntu 19.10… any ideas ?