I got the following while trying to install mysql-server on Debian:

/var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not found

Fixed by running:

apt-get --reinstall install bsdutils

Source and Credits