Public bug reported:
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
** Affects: appstream (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1848387
Title:
dpkg error when triggers are activated
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1848387/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs