1

我正在尝试构建一个快照,并且我已经使用颤振来构建应用程序。创建快照包时出现错误。

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 # 

我已经尝试过 snapcraft clean 但它并没有解决问题。

4

2 回答 2

2

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

请按照此 github 链接了解详细信息 https://github.com/EOSIO/eos/issues/4885

于 2021-05-24T06:37:10.917 回答
1

实际上,错误是由我用来构建快照包的多通道产生的。我尝试删除 /build 并再次构建,但没有成功。

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

于 2021-05-26T06:23:06.307 回答