For completeness, a much better and simpler patch is this: https://salsa.debian.org/pkgutopia-team/packagekit/-/blob/0c43611b82879bd71e633af02878d9c80283f7da/debian/patches/01_fix-single-candidate-pkgid-emission.patch Maybe that will make its way into Ubuntu Jammy too, but it's not as urgent :-)
For completeness, a much better and simpler patch is this: https:/ /salsa. debian. org/pkgutopia- team/packagekit /-/blob/ 0c43611b82879bd 71e633af02878d9 c80283f7da/ debian/ patches/ 01_fix- single- candidate- pkgid-emission. patch
Maybe that will make its way into Ubuntu Jammy too, but it's not as urgent :-)