首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >创建snap失败,snap命令失败

创建snap失败,snap命令失败
EN

Stack Overflow用户
提问于 2021-05-24 06:15:31
回答 2查看 216关注 0票数 1

我正在尝试构建一个快照,我已经使用颤振来构建这个应用程序。在创建snap包时,我得到了一个错误。

代码语言:javascript
复制
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 # 

我已经尝试过清理快照,但它没有清除问题。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-05-26 06:23:06

实际上,这个错误是从我用来构建snap包的多通道中产生的。我试着删除/build并重新构建,但没有成功。

我找到了一种使用lxd构建快照的替代方法。

票数 1
EN

Stack Overflow用户

发布于 2021-05-24 06:37:10

删除构建目录并重新构建.

请按此github链接获取详细信息https://github.com/EOSIO/eos/issues/4885

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67667426

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档