Error: /var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found

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


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.