for package in mysql-server mysql-server-5.5 mysql-server-core-5.5 ; do echo "$package hold" | sudo dpkg --set-selections ; sudo apt-mark hold "$package" ; dpkg --get-selections | grep "$package" ; done