Description of problem: As a user I am unable to prune the registry.redhat.io/redhat/certified-operator-index:v4.7 image. Version-Release number of selected component (if applicable): opm version Version: version.Version{OpmVersion:"v1.15.4-16-g06e950de", GitCommit:"06e950de5ebca66e493f6cd2414e73c8978090d3", BuildDate:"2021-10-12T18:29:26Z", GoOs:"linux", GoArch:"amd64"} registry.redhat.io/redhat/certified-operator-index:v4.7 How reproducible: Everytime Steps to Reproduce: 1. Run command $ opm index prune -f registry.redhat.io/redhat/certified-operator-index:v4.7 -p "f5-bigip-ctlr-operator gpu-operator-certified" -t localhost:5000/certified-operator-index:v4.7 2. 3. Actual results: Fails with the error message: FATA[0055] permissive mode disabled error="error deleting packages from database: error removing operator package cic-operator: FOREIGN KEY constraint failed" Expected results: The image pruning of the certified-operator-index:v4.7 image should complete without any errors. Additional info:
*** This bug has been marked as a duplicate of bug 2017327 ***