我正在尝试构建一个快照,我已经使用颤振来构建这个应用程序。在创建snap包时,我得到了一个错误。
Staging flutter-extension
+ snapcraftctl stage
Staging gnome-3-28-extension
+ snapcraftctl stage
Staging system-information
+ snapcraftctl stage
Priming flutter-extension
+ snapcraftctl prime
Priming gnome-3-28-extension
+ snapcraftctl prime
Priming system-information
+ snapcraftctl prime
The command 'system_information' for 'system_information' was resolved to 'bin/system_information'.
The command 'system_information' has been changed to 'bin/system_information'.
Snapping |
Failed to create snap, snap command failed:
stdout:
stderr:
error: cannot pack "/root/prime": mksquashfs call failed: Could not create destination file: Operation not permitted
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]: no
snapcraft-system-information # 我已经尝试过清理快照,但它没有清除问题。
发布于 2021-05-26 06:23:06
实际上,这个错误是从我用来构建snap包的多通道中产生的。我试着删除/build并重新构建,但没有成功。
我找到了一种使用lxd构建快照的替代方法。
发布于 2021-05-24 06:37:10
删除构建目录并重新构建.
请按此github链接获取详细信息https://github.com/EOSIO/eos/issues/4885。
https://stackoverflow.com/questions/67667426
复制相似问题