原文链接:http://www.songyawei.cn/content/2918
在设置了软件的源后, sudo apt-get install,出现Unable to locate package错误,如:
- letuknowit@ubuntu:~$ sudo apt-get install mysql-server mysql-client
- [sudo] password for letuknowit:
- Reading package lists… Done
- Building dependency tree
- Reading state information… Done
- E: Unable to locate package mysql-server
- E: Unable to locate package mysql-client
- letuknowit@ubuntu:~$
应该先:
- sudo apt-get update
原文链接:http://www.songyawei.cn/content/2918