当我尝试下载某些内容时,我会使用
sudo apt-get install/upgrade <package>
但是,这会给我错误消息:
W: Some index files failed to download. They have been ignored, or old ones used instead.
当我想下载 mysql 服务器时,它给出了以下错误消息:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
例如对于 Ubuntu 你需要在终端中运行:
sudo apt-get update
sudo apt-get install mysql-server
启动 MySQL 服务:
systemctl start mysql