Question

Ubuntu 14.4 mysql-server-5.6 installation

Posted February 4, 2016 5.6k views
Ubuntu MySQL Linux Commands

Hi
To Install mysql-server-5.6 I used following commands

sudo apt-get -y remove mysql-server
sudo apt-get -y autoremove
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:ondrej/mysql-5.6
sudo apt-get -y update
sudo apt-get -y install mysql-server

while Install it following error message is apeared

==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default:  subprocess installed post-installation script returned error exit status 255
==> default: dpkg: dependency problems prevent configuration of mysql-server:
==> default:  mysql-server depends on mysql-server-5.6; however:
==> default:   Package mysql-server-5.6 is not configured yet.
==> default: dpkg: error processing package mysql-server (--configure):
==> default:  dependency problems - leaving unconfigured
==> default: No apport report written because the error message indicates its a followup error from a previous failure.
==> default: Errors were encountered while processing:
==> default:  mysql-server-5.6
==> default:  mysql-server

What is the reson for this and how I can install mysql 5.6 .
sudo apt-get -y install mysql-server-5.6 also not working

1 comment
  • See if aptitude installer can help diagnose the problem, or give you reasonable option:

    # if you haven't installed it yet
    sudo apt-get -y install aptitude
    sudo aptitude --show-why install mysql-server
    # examine the options given and pick one or quit
    

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

This question was answered by @gndo:

See if aptitude installer can help diagnose the problem, or give you reasonable option:

# if you haven't installed it yet
sudo apt-get -y install aptitude
sudo aptitude --show-why install mysql-server
# examine the options given and pick one or quit

View the original comment

Submit an Answer