Hi!
Here's a patch I had laying around, updating the status field values to
match the ones in dpkg. It does the following:
Remove obsolete keyword aliases, as dpkg autoupgraded these keywords
to their modern counterparts at run-time long time ago. And they are
no longer supported by dpkg itself. Moreover one of the keywords was
mispelled here ("post-inst-failed" should have been "postinst-failed"),
presumably from a typo carried over from apt.
Add triggers-awaited and triggers-pending keywords.
Sort status keywords in their normal transition sequence order.
Beware, only build-tested.
Thanks,
Guillem