This is usually caused by corrupt .dmg files. However, if you keep seeing this error with every .dmg file you try, check whether your Migration Assistant is running, then shut it down.