Mount of core fails when installing snap on nanopi neo (classic)

Bonjour,

je dispo d’un nanoPi, sur lequel j’ai installé Ubuntu 16.04 LTS.

Lorsque j’essaie d’insatller mes snaps j’ai cette erreur:

pi@NanoPi-NEO:~/snap$ sudo snap install my-snap-name_0.1_armhf.snap
error: cannot find signatures with metadata for snap “my-snap-name_0.1_armhf.snap”
pi@NanoPi-NEO:~/snap$ sudo snap install my-snap-name_0.1_armhf.snap --dangerous
error: cannot perform the following tasks:

  • Mount snap “core” (2466) ([start snap-core-2466.mount] failed with exit status 1: Job for snap-core-2466.mount failed. See “systemctl status snap-core-2466.mount” and “journalctl -xe” for details.

Et quand j’exécute la commande: systemctl status snap-core-2466.mount

pi@NanoPi-NEO:~/snap$ systemctl status snap-core-2466.mount
● snap-core-2466.mount - Mount unit for core
Loaded: loaded (/etc/systemd/system/snap-core-2466.mount; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-08-08 12:13:37 UTC; 25min ago
Where: /snap/core/2466
What: /var/lib/snapd/snaps/core_2466.snap
Process: 1282 ExecMount=/bin/mount /var/lib/snapd/snaps/core_2466.snap /snap/core/2466 -t squashfs -o nodev,ro (code=exited, status=32)
pi@NanoPi-NEO:~/snap$

Comment faire pour résoudre ce problème?

Merci d’avance

[translation]

Hello,

I have a nanoPi, on which I installed Ubuntu 16.04 LTS.

When I try to install my snaps I have this error:

pi@NanoPi-NEO:~/snap$ sudo snap install my-snap-name_0.1_armhf.snap
error: cannot find signatures with metadata for snap "my-snap-name_0.1_armhf.snap"
pi@NanoPi-NEO:~/snap$ sudo snap install my-snap-name_0.1_armhf.snap --dangerous
error: cannot perform the following tasks:
- Mount snap "core" (2466) ([start snap-core-2466.mount] failed with exit status 1: Job for snap-core-2466.mount failed. See "systemctl status snap-core-2466.mount" and "journalctl -xe" for details.

And when I run the command: systemctl status snap-core-2466.mount

pi@NanoPi-NEO:~/snap$ systemctl status snap-core-2466.mount
● snap-core-2466.mount - Mount unit for core
Loaded: loaded (/etc/systemd/system/snap-core-2466.mount; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-08-08 12:13:37 UTC; 25min ago
Where: /snap/core/2466
What: /var/lib/snapd/snaps/core_2466.snap
Process: 1282 ExecMount=/bin/mount /var/lib/snapd/snaps/core_2466.snap /snap/core/2466 -t squashfs -o nodev,ro (code=exited, status=32)
pi@NanoPi-NEO:~/snap$

How to solve this problem?

Thank you in advance.

1 Like

where exactly did you download this image ?
looks like you have an unsupported kernel in use …

i provide nano-pi (though ubuntu-core not 16.04 LTS classic ) images that should work at http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/

1 Like

OK, thanks,
I’m going to try

I downloaded
ubuntu-core-16-nanopi-neo.img.xz
But I could not install it on the nanoPi

try writing it to SD card with something like:

xzcat /path/to/ubuntu-core-16-nanopi-neo.img.xz | sudo dd of=/dev/yoursdcard bs=16M

the configuration that lets you set up the network and user will come up on the serial port of the board

OK, thanks,
I’m going to try
thanks you

1 Like

I followed your instruction but the system does not start on the nanoPI Neo

what is the error you see on the serial console ?

i just tried todays image and it boots fine here on mine ( a log of the serial console booting the daily image is at http://paste.ubuntu.com/25276196/ ) … pressing enter at this point starts the system configuration …