On Friday, January 17, 2025 6:32:41 AM MST Phil Wyett wrote: > > W: imsprog: appstream-metadata-validation-failed Problems reported by > > "appstreamcli validate-tree". > > N: > > N: The specified AppStream metadata file fail to validate using > > 'appstreamcli > > N: validate-tree --no-net path-to-package-root'. > > N: > > N: Please refer to https://wiki.debian.org/AppStream/Guidelines for > > details. > > N: > > N: Visibility: warning > > N: Show-Always: no > > N: Check: appstream-metadata
I have run into this error before. It took me a while to figure out the problem, because the error message didn’t point me in the right direction. So, let me tell you where the bears sleep. There is an intricate dance between the name of the appstream file, the ID inside the appstream file, and the name of the desktop file. If they don’t line up in a certain way, you will get this failure. The documentation says there are supposed to be several ways to line them up, but when I followed some of the examples I couldn’t get the warning to go away. This is what has worked every time I have tried it. Appsream file name: Use reverse domain name notation appended by .appdata.xml. ID: Use the same reverse domain name notation. Desktop file: Use the same reverse domain name notation appended by .desktop. For example: Appstream file name: com.stoutner.privacybrowser.appdata.xml ID: com.stoutner.privacybrowser Desktop file: com.stoutner.privacybrowser.desktop https://salsa.debian.org/soren/privacybrowser/-/blob/master/src/ com.stoutner.privacybrowser.appdata.xml?ref_type=heads -- Soren Stoutner so...@debian.org
signature.asc
Description: This is a digitally signed message part.