![在 10.04LTS 上安装 mysql-server 出现“404 Not Found”错误](https://linux22.com/image/820676/%E5%9C%A8%2010.04LTS%20%E4%B8%8A%E5%AE%89%E8%A3%85%20mysql-server%20%E5%87%BA%E7%8E%B0%E2%80%9C404%20Not%20Found%E2%80%9D%E9%94%99%E8%AF%AF.png)
嗨,我正在尝试在 Ubuntu 10.04LTS(Lucid Lynx)上安装 mysql,但出现此错误。这是服务器端问题吗?服务器是否已启动?我正在从远程服务器上的命令行运行此程序...
sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client-5.1
mysql-client-core-5.1 mysql-common mysql-server-5.1 mysql-server-core-5.1 psmisc
Suggested packages:
dbishell libipc-sharedcache-perl tinyca mailx
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client-5.1
mysql-client-core-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1 psmisc
0 upgraded, 13 newly installed, 0 to remove and 85 not upgraded.
Need to get 23.2MB/24.3MB of archives.
After this operation, 61.7MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-common 5.1.62-0ubuntu0.10.04.1
404 Not Found [IP: 91.189.92.192 80]
<more of the same error messages here>
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/mysql-common_5.1.62-0ubuntu0.10.04.1_all.deb 404 Not Found [IP: 91.189.92.166 80]
<more of the same error messages here>
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
您需要sudo apt-get update
先运行,然后重试;该特定版本已过时,已经升级