This is resolved in `appstream >= 0.12.7` (since the code doesn't exist there anymore). The original issue was likely caused by AppStream not handling broken metadata correctly, which is an area that has also been improved greatly.
** Changed in: appstream (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1794213 Title: Crash on Upgrade preparation from 18.04 to 18.10 in APT::Update::Post- Invoke-Success To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1794213/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs