apt-cache policy snapd snapd: Installé: 2.32.9 Candidat: 2.32.9 Table de versions: *** 2.32.9 500 500 http://us.archive.ubuntu.com/ubunt xenial- mises à jour/paquets AMD64 principaux 100/var/lib/dpkg/status 2.0.2 500 500 http://us.archive.ubuntu.com/ubunt paquets xenial/main AMD64 chris @ localhost: ~ $ lsb_release -rd Description: Ubuntu 16.04.4 LTS Release: 16.04
Après la mise à jour de snapd de 2.32.3.2 à 2.32.9 ce matin, j'ai reçu le résultat d'erreur suivant:
Job for snapd.seeded.service failed because the control process exited with error code.
See "systemctl status snapd.seeded.service" and "journalctl -xe"
for details. snapd.seeded.service couldn't start.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
Sortie de "systemctl status snapd.seeded.service:
systemctl snapd.seeded.service
Unknown operation snapd.seeded.service.
chris@localhost:~$ systemctl status snapd.seeded.service
● snapd.seeded.service - Wait until snapd is fully seeded
Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-06-01 07:58:40 CDT; 5min ago
Process: 15535 ExecStart=/usr/bin/snap wait system seed.loaded (code=exited, status=1/FAILURE)
Main PID: 15535 (code=exited, status=1/FAILURE)
Jun 01 07:58:35 localhost.localdomain systemd[1]: Starting Wait until snapd is fully seeded...
Jun 01 07:58:40 localhost.localdomain snap[15535]: error: cannot communicate with server: Get http://local
Jun 01 07:58:40 localhost.localdomain systemd[1]: snapd.seeded.service: Main process exited, code=exited,
Jun 01 07:58:40 localhost.localdomain systemd[1]: Failed to start Wait until snapd is fully seeded.
Jun 01 07:58:40 localhost.localdomain systemd[1]: snapd.seeded.service: Unit entered failed state.
Jun 01 07:58:40 localhost.localdomain systemd[1]: snapd.seeded.service: Failed with result 'exit-code'.
En regardant journalctl -xe ne montre rien, j'ai peut-être attendu trop longtemps pour l'exécuter? Cependant, il s’agit d’une sortie syslog pour cette période:
Jun 1 07:58:35 localhost systemd[1]: Starting Wait until snapd is fully seeded...
Jun 1 07:58:40 localhost snap[15535]: error: cannot communicate with server: Get http://localhost/v2/snaps/system/conf?keys=seed.loaded: dial unix /run/snapd.socket: connect: connection refused
Jun 1 07:58:40 localhost systemd[1]: snapd.seeded.service: Main process exited, code=exited, status=1/FAILURE
Jun 1 07:58:40 localhost systemd[1]: Failed to start Wait until snapd is fully seeded.
Jun 1 07:58:40 localhost systemd[1]: snapd.seeded.service: Unit entered failed state.
Jun 1 07:58:40 localhost systemd[1]: snapd.seeded.service: Failed with result 'exit-code'.
Jun 1 07:58:40 localhost systemd[1]: Starting Socket activation for snappy daemon.
Jun 1 07:58:40 localhost systemd[1]: Listening on Socket activation for snappy daemon.
Jun 1 07:58:41 localhost systemd[1]: Starting Snappy daemon...
Jun 1 07:58:41 localhost snapd[15552]: AppArmor status: apparmor is enabled and all features are available
Jun 1 07:58:41 localhost snapd[15552]: AppArmor status: apparmor is enabled and all features are available
Jun 1 07:58:42 localhost snapd[15552]: 2018/06/01 07:58:42.104321 daemon.go:343: started snapd/2.33~rc1 (series 16; classic) ubuntu/16.04 (AMD64) linux/4.13.0-43-generic.
Jun 1 07:58:42 localhost systemd[1]: Started Snappy daemon.
Jun 1 07:58:42 localhost systemd[1]: Listening on Socket activation for snappy daemon.
Jun 1 07:58:44 localhost kernel: [863229.980726] audit: type=1400 audit(1527857924.259:138): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=15577 comm="apparmor_parser"
Jun 1 07:58:44 localhost kernel: [863229.994170] audit: type=1400 audit(1527857924.272:139): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=15577 comm="apparmor_parser"
Jun 1 07:58:47 localhost snapd[15552]: 2018/06/01 07:58:47.766008 storehelpers.go:413: cannot refresh:
Jun 1 07:58:47 localhost snapd[15552]: snap "nethack": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "speed-test": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "snapweb": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "core": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "snappy-debug": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "wallpaperdownloader": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "pubip": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: snap "dwarf-fortress": snap has no updates available
Jun 1 07:58:47 localhost snapd[15552]: 2018/06/01 07:58:47.770673 autorefresh.go:338: auto-refresh: all snaps are up-to-date
Snapd est en cours d'exécution:
systemctl status snapd
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-06-01 07:58:42 CDT; 53min ago
Main PID: 15552 (snapd)
CGroup: /system.slice/snapd.service
└─15552 /usr/lib/snapd/snapd
Jun 01 07:58:47 localhost.localdomain snapd[15552]: 2018/06/01 07:58:47.766008 storehelpers.go:413: cannot refresh:
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "nethack": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "speed-test": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "snapweb": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "core": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "snappy-debug": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "wallpaperdownloader": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "pubip": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: snap "dwarf-fortress": snap has no updates available
Jun 01 07:58:47 localhost.localdomain snapd[15552]: 2018/06/01 07:58:47.770673 autorefresh.go:338: auto-refresh: all snaps are up-to-date
La question est de savoir ce que "snapd.seeded.service" fait et pourquoi a-t-il échoué? Cela affecte-t-il l'exécution de clichés?
Vous pouvez résoudre le problème avec cette commande:
$ Sudo snap install hello-world
Recommencez snapd.seeded.service
:
$ systemctl start snapd.seeded.service
Vérifiez si snapd.seeded.service
est en cours d'exécution:
$ systemctl status snapd.seeded.service
Cette question sur AskUbuntu pourrait être utile: snapd.seeded.service n'a pas pu démarrer lors de la mise à nivea