This crash can happen on upgrades in case the package in question has been removed on the newer release.
Example call for Ubuntu 24.04 upgrade: /usr/share/apport/package_hook -p mime-support --tags dist-upgrade [...] mime-support has been removed in Ubuntu 24.04. ** Changed in: apport (Ubuntu) Status: New => Triaged ** Changed in: apport (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078695 Title: /usr/share/apport/package_hook:ValueError:/usr/share/apport/package_hook@95:main:get_source To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2078695/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs