Unable to locate package錯誤解決辦法
1.xiaohei@ubuntu:~$ sudo apt-get install mysql-server mysql-client 2.[sudo] password for xiaohei: 3.Reading package lists… Done 4.Building dependency tree 5.Reading state information… Done 6.E: Unable to locate package mysql-server 7.E: Unable to locate package mysql-client 8.xiaohei@ubuntu:~$
網上找資料發現是 在執行sudo apt-get install之前更換了軟件源,但是卻忘了update下了,於是執行下面的命令:
sudo apt-get update
搞定
歡迎到我負責的安幫網交流
安幫網是信息安全領域的專業資料庫,人才庫,產品庫,公司庫。安幫網是為信息安全專業人士等IT從業人士,提供人脈拓展、觀點交流,產品點評,資料分享和下載的專業平台。