In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to change the linux software source caused by Unable to locate package errors, the article is very detailed, has a certain reference value, interested friends must read it!
Friends who have just come into contact with ubuntu may change the software source according to the steps in some introductory articles, but if you install the software at this time, there will be an unable to locate package error.
For example:
The code is as follows:
Username@ubuntu:~$ sudo apt-get install mysql-server mysql-client
[sudo] password for username:
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
Username@ubuntu:~$
In fact, the problem is that the software source was changed before executing sudo apt-get install, but forgot to go under update, so execute the following command:
Sudo apt-get update
The above is all the contents of the article "what to do with Unable to locate package errors caused by changing linux software sources". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.