Sometimes MySQL could not be installed on Ubuntu due to issues like the following:

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

To solve this, simply run

apt-get --reinstall install bsdutils
Was this answer helpful? 4 Users Found This Useful (130 Votes)