今天在Ubuntu安装mysql的时候遇到了这个问题
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ****
无法找到包,那就更新一下包
sudo apt-get update
sudo apt-get upgrade
执行第二句的时候有让你y/n直接y就好了
然后继续安装mysql就行了
apt-get install mysql-server