我当时正在创建一个框架应用程序,cURL for Snappy。我可以创建并发布它,但是发布的应用程序引发了一些错误。
2次失败:
found binaries for architecture 'all': bin/curl lint_control_architecture_valid_contents(MANUAL REVIEW) type 'framework' not allowed lint_snappy_type_redflag,这是什么意思?2次警告:
security policy not found framework_policiesunknown entries in package.yaml: 'description,summary' lint_snappy_unknown我怎么才能修好它?
干杯
发布于 2015-11-02 17:35:24
这里其实有几个问题。
found binaries for architecture 'all': bin/curl lint_control_architecture_valid_contents这意味着您已经在包中包含了已编译的二进制文件(在本例中是bin/curl),但是在包清单中表示包是独立于体系结构的(不在meta/package.yaml中指定architectures键意味着它默认为architectures: ["all"],从而导致DEBIAN/control中的Architecture: all )。您应该更新meta/package.yaml以包括architectures: ["amd64"]。
unknown entries in package.yaml: 'description,summary' lint_snappy_unknown您已经在您的meta/package.yaml中包含了未被识别的属性,即description和summary。你应该把那些拿掉。
有关允许哪些属性的更多详细信息,请参见包元数据指南。
(MANUAL REVIEW) type 'framework' not allowed lint_snappy_type_redflag和
security policy not found framework_policies失败消息后的链接告诉您在这里需要了解的内容:
https://askubuntu.com/questions/690953
复制相似问题