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

后端 未结 11 1375
礼貌的吻别
礼貌的吻别 2020-12-25 13:25

This appears to be a common problem on 12.04. I\'ve tried everthing in this thread including:

sudo apt-get clean

sudo apt-get autoclean

sudo apt-get remove         


        
11条回答
  •  伪装坚强ぢ
    2020-12-25 14:06

    I wasted many hours trying to fix this and in the end it turned out that it just needed full permissions on /tmp directory (i tried 755 and 766 but didn't work, only 777 works), so i ran:

    sudo chmod 1777 /tmp
    

    "the number 1 before 777 is called the sticky bit and it adds extra security to the folder, check this for more details about the sticky bit".

    and reconfigured:

    sudo dpkg --configure mysql-server-5.5
    

    and mysql server started successfully.

提交回复
热议问题