Debian stable上的snap包

时间:2017-09-09 05:18:32

标签: debian snapcraft

Snaps作为"通用Linux软件包销售#34;可以安装在任何地方......

我似乎遇到了在Debian稳定(拉伸)上使用snapd的问题。比如花3分钟取出包裹:

2017-09-09T15:08:29+10:00 ERROR cannot remove snap file "robotica", will retry in 3 mins: snap-robotica-x1.mount failed to stop: timeout

我似乎也遇到了使用错误权限安装快照的随机问题:

$ ls -l /snap/robotica                                  
total 0
lrwxrwxrwx 1 root root   2 Sep  9 14:32 current -> x7
drwxr-xr-x 8 root root 139 Sep  9 14:03 x5
drwx------ 9 root root 153 Sep  9 14:30 x6
drwx------ 9 root root 153 Sep  9 14:30 x7

据我所知,Debian中的snapd已经过时了,但是我尝试在不稳定的情况下向后移植snapd以进行拉伸,但是它失败并出现以下错误:

...
# github.com/snapcore/snapd/cmd/snap-seccomp
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:400: undefined: seccomp.ArchPPC
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:402: undefined: seccomp.ArchPPC64
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:404: undefined: seccomp.ArchPPC64LE
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:406: undefined: seccomp.ArchS390X
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:422: undefined: seccomp.ArchPPC64
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:424: undefined: seccomp.ArchPPC64LE
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:426: undefined: seccomp.ArchPPC
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:428: undefined: seccomp.ArchS390X
src/github.com/snapcore/snapd/cmd/snap-seccomp/main.go:571: undefined: seccomp.ArchPPC
...
dh_auto_build: go install -v -p 1 -buildmode=pie -pkgdir=/<<PKGBUILDDIR>>/_build/std github.com/snapcore/snapd/arch github.com/snapcore/snapd/asserts github.com/snapcore/snapd/asserts/assertstest github.com/snapcore/snapd/asserts/signtool github.com/snapcore/snapd/asserts/snapasserts github.com/snapcore/snapd/asserts/sysdb github.com/snapcore/snapd/asserts/systestkeys github.com/snapcore/snapd/boot github.com/snapcore/snapd/boot/boottest github.com/snapcore/snapd/client github.com/snapcore/snapd/cmd github.com/snapcore/snapd/cmd/snap github.com/snapcore/snapd/cmd/snap-exec github.com/snapcore/snapd/cmd/snap-repair github.com/snapcore/snapd/cmd/snap-seccomp github.com/snapcore/snapd/cmd/snap-update-ns github.com/snapcore/snapd/cmd/snapctl github.com/snapcore/snapd/cmd/snapd github.com/snapcore/snapd/daemon github.com/snapcore/snapd/dirs github.com/snapcore/snapd/errtracker github.com/snapcore/snapd/httputil github.com/snapcore/snapd/i18n github.com/snapcore/snapd/i18n/dumb github.com/snapcore/snapd/i18n/xgettext-go github.com/snapcore/snapd/image github.com/snapcore/snapd/interfaces github.com/snapcore/snapd/interfaces/apparmor github.com/snapcore/snapd/interfaces/backends github.com/snapcore/snapd/interfaces/builtin github.com/snapcore/snapd/interfaces/dbus github.com/snapcore/snapd/interfaces/ifacetest github.com/snapcore/snapd/interfaces/kmod github.com/snapcore/snapd/interfaces/mount github.com/snapcore/snapd/interfaces/policy github.com/snapcore/snapd/interfaces/seccomp github.com/snapcore/snapd/interfaces/systemd github.com/snapcore/snapd/interfaces/udev github.com/snapcore/snapd/logger github.com/snapcore/snapd/osutil github.com/snapcore/snapd/overlord github.com/snapcore/snapd/overlord/assertstate github.com/snapcore/snapd/overlord/auth github.com/snapcore/snapd/overlord/cmdstate github.com/snapcore/snapd/overlord/configstate github.com/snapcore/snapd/overlord/configstate/config github.com/snapcore/snapd/overlord/devicestate github.com/snapcore/snapd/overlord/hookstate github.com/snapcore/snapd/overlord/hookstate/ctlcmd github.com/snapcore/snapd/overlord/hookstate/hooktest github.com/snapcore/snapd/overlord/ifacestate github.com/snapcore/snapd/overlord/patch github.com/snapcore/snapd/overlord/snapstate github.com/snapcore/snapd/overlord/snapstate/backend github.com/snapcore/snapd/overlord/state github.com/snapcore/snapd/partition github.com/snapcore/snapd/partition/androidbootenv github.com/snapcore/snapd/partition/grubenv github.com/snapcore/snapd/partition/ubootenv github.com/snapcore/snapd/progress github.com/snapcore/snapd/release github.com/snapcore/snapd/snap github.com/snapcore/snapd/snap/snapdir github.com/snapcore/snapd/snap/snapenv github.com/snapcore/snapd/snap/snaptest github.com/snapcore/snapd/snap/squashfs github.com/snapcore/snapd/store github.com/snapcore/snapd/strutil github.com/snapcore/snapd/systemd github.com/snapcore/snapd/testutil github.com/snapcore/snapd/timeout github.com/snapcore/snapd/timeutil github.com/snapcore/snapd/wrappers github.com/snapcore/snapd/x11 returned exit code 2
debian/rules:104: recipe for target 'override_dh_auto_build' failed

因此尝试让它发挥作用是明智的吗?或者我只是减掉我的钱并立即放弃?也许snapcraft只对Ubuntu非常有用。

0 个答案:

没有答案