Recently started to contact Linux, in the virtual machine loaded Ubuntu, the current version is Ubuntu 11.10, installed after the natural installation of some software, after setting the source of the software, began the sudo apt-get install, the results appear the following unable to Locate Package Error:
- [Email protected]:~$ 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
- [Email protected]:~$
This is called a depressed ah, on the wrong foot, do not bring such a scare just play Ubuntu children ~ So hurriedly find information, and review the previous operation, and finally found the problem in the execution of sudo apt-get install before replacing the software source, but forgot the update under the , then execute the following command:
- sudo apt-get update
When the above command is finished, execute the sudo apt-get install again! In fact, the error message has been very clear, unable to locate packet is unable to find the package, that is not hurriedly sudo apt-get update!
Linux Novice Starter: Unable to locate package error resolution