Description of problem: citrix-ingress-controller-operator has a malformed index that opm does not tolerate Version-Release number of selected component (if applicable): certified-operator-catalog:v4.8 How reproducible: 100% Steps to Reproduce: Use opm to prune the operator index down to any subset of operators. citrix-ingress-controller-operator is not in the list. Example command: opm index prune -f registry.redhat.io/redhat/certified-operator-index:v4.8 -p nginx-ingress-operator -t myregistry.com:5000/redhat/nginx-ingress-operator-catalog:v4.8 Actual results: FATA[0019] permissive mode disabled error="error deleting packages from database: error removing operator package cic-operator: FOREIGN KEY constraint failed" Expected results: opm prunes the index and pushes the custom index image to my registry Additional info: This happens regardless of the operator being mirrored. The citrix issue stops opm from working at all unless --permissive is passed.