I recently upgraded a system from debian 10 to 11 and stumbled on this bug. I purged all packages that remained in state rc from the previous debian version and this solved the problem. JLMA.