I am getting an E: Sub-process /usr/bin/dpkg returned an error code (1) error when installing mysql 5.6 in Ubuntu 14.04.

enter image description here

I have tried to modified

/var/lib/dpkg/info/mysql-server-5.6.postinst and comment out line 95:

/usr/share/mysql-common/configure-symlinks install mysql "$mysql_cfgdir/mysql.cnf"

but i did not find the

/usr/share/mysql-common/configure-symlinks install mysql "$mysql_cfgdir/mysql.cnf" line


Reinstall it using the cmd on terminal sudo apt-get purge mysql-server-5.6 then sudo apt-get install mysql-server-5.6


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.