簡體   English   中英

創建快照失敗,快照命令失敗

[英]Failed to create snap, snap command failed

我正在嘗試構建一個快照,我已經使用 flutter 來構建應用程序。 在創建快照 package 時出現錯誤。

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 但它並沒有解決問題。

刪除構建目錄並重新構建。

按照此 github 鏈接了解詳細信息https://github.com/EOSIO/eos/issues/4885

實際上,錯誤是由我用來構建快照包的多通道產生的。 我嘗試刪除 /build 並再次構建,但沒有成功。

我找到了另一種使用lxd構建快照的方法

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM