Ubuntu 14.4 mysql-server-5.6 installation

February 4, 2016 5.4k 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
    
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

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!