Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the 'metainfo-filename-cid-mismatch' error signify? #435

Closed
quyykk opened this issue Sep 26, 2022 · 2 comments
Closed

What does the 'metainfo-filename-cid-mismatch' error signify? #435

quyykk opened this issue Sep 26, 2022 · 2 comments

Comments

@quyykk
Copy link

quyykk commented Sep 26, 2022

While building an AppImage it failed because of metainfo-filename-cid-mismatch. But what does the error mean? There is zero documentation on this anywhere. I tried to read the AppStream spec, but couldn't find anything that would explain this error.

Thanks!

@quyykk
Copy link
Author

quyykk commented Sep 26, 2022

Found it, for all those coming from search engines: The <id> tag should be the name of the file: <id>.appdata.xml (or metainfo).

@quyykk quyykk closed this as completed Sep 26, 2022
@ximion
Copy link
Owner

ximion commented Sep 27, 2022

Yes. In case you are unsure about an error, you can also always pass --explain to get a verbose explanation: appstreamcli validate --strict --explain <filename>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants