This forum is the most cordial I have ever been in. Some answers may seem short at times. Heck look at my signature. It is not meant to be personal to anyone. Just a general statement. But it can be taken the wrong way. Please assume the best not the worst.
From the op "am trying to migrate to new server". Since it is not a common problem and not in production after a few suggestions it seemed easier to reinstall than fight it. If somebody comes up with a way to reproduce it maybe it could be fixed. Maybe apt install -f might fix it but who knows.