That can be a problem.

  • Remove MBam completely
  • Remove avast completely (all folders, files, registry entries)
  • Reboot
  • Cleanup the system (You could use CCleaner for it)
  • Reboot
  • Try to install avast with the off-line installer for the latest version (You might even try with the latest Beta)