In Ubuntu system, using the apt-get install command to install the program, the following problems occurred.
root@1:~# sudo apt-get install mysql-server -y
sudo: unable to resolve host iZm5ej8y1b74lo14r36fvlZ
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-server
Solutions:
Sudo apt-get update sudo apt-get update
The software source is not updated, or the software source is modified,
sudo apt-get update
Second method: need to change the software source
Refer to the method of replacing the software source:
http://www.chenxm.cc/post/445.html
E: Unable to locate package mysql-server: Unable to locate package mysql-server: Unable to locate package mysql-server
Read More:
- Linux novice: unable to locate package error solution
- Solutions to the problem of unable to locate package
- Solve the problem of unable to locate package python3.6 when upgrading from python3.5 to python3.6 in ubantu16.04
- An unable to locate appropriate constructor on class solution appears
- When MySQL is running, the server suddenly goes down, which causes Mysql to be unable to restart
- MySQL installation failed: dpkg: error processing package MySQL server (- – configure): dependency problem
- MySQL Workbench: Error Code: 2013. Lost connection to MySQL server during query solution
- Unable to locate executable for jre1.8.0_261
- RuntimeError: Unable to locate turbojpeg library automatically. You may specify the turbojpeg librar
- Solution to MySQL workbench error 1148 unable to load local data
- E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
- SQL Server 2008 18456 error and SA unable to login solution
- Solution to “the grub PC ‘package failed to install into / target / when installing Ubuntu server
- About the problem that Ubuntu kylin can’t locate the package update
- Sqlog connect to MySQL 8.0.24 remote server, error: 2058 solution
- About WLW (Windows Live Writer): “unable to connect to your log service: invalid server response” solution
- Solution to msxml3.dll error ‘800c0008’ the system cannot locate the resource specified
- 0001: unable to locate the content swf directory: app:/mod/win
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- It can’t connect to local MySQL server through socket ‘/ tmp/ mysql.sock ‘(2) “;