This is resolved in appstream >= 0.12.10-1
** Changed in: appstream (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1848387
Title:
dpkg error when triggers are activated
Status in appstream package in Ubuntu:
Fix Released
Bug description:
The following message, or something like it, is output when an update
to appstream is done on 19.10:
dpkg: error: version '/usr/share/app-info/yaml /usr/share/app-info/icons' has
ba
d syntax: version string has embedded spaces
This appears to be caused by this line in the appstream.postinst:
if dpkg --compare-versions "$2" ge-nl "0.12.8"; then
This gets called when the registered triggers are activated:
interest-noawait /usr/share/app-info/icons
interest-noawait /usr/share/app-info/yaml
interest-noawait /usr/share/app-info/xml
I recommend checking in the postinst if we are handling a trigger and
avoiding the dpkg version comparison
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1848387/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp