You seem to have an older scratch package installed (possibly from the earlier PPA?), as the error message refers to "scratch 1.1-0~r766+pkg21~precise1"
Try uninstalling the scratch package entirely, and then reinstalling it.
sudo apt-get remove scratch sudo apt-get install scratch
You seem to have an older scratch package installed (possibly from the earlier PPA?), as the error message refers to "scratch 1.1-0~r766+ pkg21~precise1"
Try uninstalling the scratch package entirely, and then reinstalling it.
sudo apt-get remove scratch
sudo apt-get install scratch