I was trying to install mono using following commands,
sudo apt-get install mono-*
unfortunately, I closed the terminal while it instal
you can also try to update your ubuntu by command :
sudo apt-get update && sudo apt-get upgrade
Sometime the dpkg needs some update to fix this problem.