When trying to update the snapweb snap either manually which gives:
chris@localhost:~$ sudo snap refresh snapweb
[sudo] password for chris:
error: cannot perform the following tasks:
- Run configure hook of "snapweb" snap if present (/usr/bin/env: 'python': No such file or directory)
or as a process:
Feb 19 12:27:59 localhost /usr/bin/snap[26120]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
Feb 19 12:27:59 localhost /usr/bin/snap[26066]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
Feb 19 12:28:00 localhost /usr/lib/snapd/snapd[26101]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/lib/snapd/snapd"
Feb 19 12:28:04 localhost /usr/lib/snapd/snapd[26101]: daemon.go:250: DEBUG: init done in 830.78µs
Feb 19 12:28:13 localhost /usr/lib/snapd/snapd[26101]: daemon.go:176: DEBUG: uid=0;@ POST /v2/snaps 9.369926834s 202
Feb 19 12:28:13 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1217 on Do: Download snap "snapweb" (103) from channel "edge"
Feb 19 12:28:21 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1218 on Do: Fetch and check assertions for snap "snapweb" (103)
Feb 19 12:28:22 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1219 on Do: Mount snap "snapweb" (103)
Feb 19 12:28:27 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1220 on Do: Stop snap "snapweb" services
Feb 19 12:28:28 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1221 on Do: Remove aliases for snap "snapweb"
Feb 19 12:28:29 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1222 on Do: Make current revision for snap "snapweb" unavailable
Feb 19 12:28:30 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1223 on Do: Copy snap "snapweb" data
Feb 19 12:28:36 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1224 on Do: Setup snap "snapweb" (103) security profiles
Feb 19 12:28:42 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1225 on Do: Make snap "snapweb" (103) available to the system
Feb 19 12:28:44 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1226 on Do: Set automatic aliases for snap "snapweb"
Feb 19 12:28:45 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1227 on Do: Setup snap "snapweb" aliases
Feb 19 12:28:45 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1228 on Do: Start snap "snapweb" (103) services
Feb 19 12:28:46 localhost /usr/bin/snap[27511]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
Feb 19 12:28:47 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1229 on Do: Clean up "snapweb" (103) install
Feb 19 12:28:48 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1230 on Do: Run configure hook of "snapweb" snap if present
Feb 19 12:28:52 localhost /usr/lib/snapd/snapd[26101]: task.go:303: DEBUG: 2017-02-19T12:28:51-06:00 ERROR /usr/bin/env: 'python': No such file or directory
Feb 19 12:29:00 localhost /usr/lib/snapd/snapd[26101]: daemon.go:176: DEBUG: uid=0;@ GET /v2/system-info 5.93719773s 200
Feb 19 12:29:10 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1228 on Undo: Start snap "snapweb" (103) services
Feb 19 12:29:10 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1217 on Undo: Download snap "snapweb" (103) from channel "edge"
Feb 19 12:29:15 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1227 on Undo: Setup snap "snapweb" aliases
Feb 19 12:29:16 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1226 on Undo: Set automatic aliases for snap "snapweb"
Feb 19 12:29:17 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1225 on Undo: Make snap "snapweb" (103) available to the system
Feb 19 12:29:22 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1224 on Undo: Setup snap "snapweb" (103) security profiles
Feb 19 12:29:27 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1223 on Undo: Copy snap "snapweb" data
Feb 19 12:29:28 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1222 on Undo: Make current revision for snap "snapweb" unavailable
Feb 19 12:29:30 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1221 on Undo: Remove aliases for snap "snapweb"
Feb 19 12:29:31 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1220 on Undo: Stop snap "snapweb" services
Feb 19 12:29:32 localhost /usr/lib/snapd/snapd[26101]: taskrunner.go:353: DEBUG: Running task 1219 on Undo: Mount snap "snapweb" (103)
Feb 19 12:29:34 localhost /usr/bin/snap[27723]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
Feb 19 12:29:41 localhost systemd[1]: snapd.refresh.service: Main process exited, code=exited, status=1/FAILURE
Feb 19 12:29:41 localhost systemd[1]: Failed to start Automatically refresh installed snaps.
Feb 19 12:29:41 localhost systemd[1]: snapd.refresh.service: Unit entered failed state.
Feb 19 12:29:41 localhost systemd[1]: snapd.refresh.service: Failed with result 'exit-code'.
Feb 19 12:29:45 localhost /usr/lib/snapd/snapd[26101]: daemon.go:176: DEBUG: uid=0;@ GET /v2/system-info 102.249µs 200
chris@localhost:~$ apt-cache policy snapd
snapd:
Installed: 2.22.3
Candidate: 2.22.3
Version table:
*** 2.22.3 500
chris@localhost:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
This is addressed by
https:/ /github. com/snapcore/ snapweb/ pull/164