пятница, 8 мая 2015 г.

Can't start MySQL5.5 on Ubuntu 14.04 - “dpkg: dependency problems”

sudo apt-get clean

sudo apt-get autoclean

sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5

sudo apt-get install mysql-server

I had the same issue. Tried the apt-get clean, autoclean, remove and apt-get install mysql-server-5.5 Same error would keep coming up.
I removed everything a second time, tried again, still the same problem.
This is what worked for me, though I was doing an install and not an upgrade, so I didn't care about the existing database.
I removed all the mysql application again, then I went and deleted my /var/lib/mysql directory. Keep in mind, if you have an existing database there, you will lose it. You might want to move it to another location.
After removing that directory, I installed again and it worked perfect. So something in the /var/lib/mysql directory was my problem. See if that works for you.

sudo apt-get remove mysql-server

physically removed all of the files from the following search
find / -name 'mysql*'

then, I uninstalled apparmor.
sudo apt-get remove apparmor

then, reinstall mysql-server

sudo apt-get install mysql-server

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )


Комментариев нет :

Отправить комментарий

друзья )

cridex cms новости со всего мира
парсинг центр