Mono broken after attempt to upgrade, unable to use apt

I'm not 100% certain that these commands in this order will solve the problem every time but this is what happened and I was able to successfully reinstall Mono to get the applications that depend on it running again.

  1. sudo apt remove mono-complete mono-devel

    • Some packages should be removed (gets to about ~15-25%) before errors start spitting out and you can't run this again.
  2. sudo apt autoremove

    • Some packages should be removed before errors start spitting out and you can't run this again.
  3. sudo apt remove mono-gac mono-runtime-common
    • Some packages should be removed before errors start spitting out and you can't run this again.
  4. sudo apt autoremove
    • The rest of the Mono packages should remove completely this time without errors being spat out.
    • There must be certain package(s) that are the cause of the errors in the prior commands and when it's removed, the errors stop happening and the rest can be removed without issue.
  5. Reinstall Mono.