dpkg error when triggers are activated
Bug #1848387 reported by
Jeremy Soller
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appstream (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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/
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/
interest-noawait /usr/share/
interest-noawait /usr/share/
I recommend checking in the postinst if we are handling a trigger and avoiding the dpkg version comparison
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.