E:无法获取一些档案,也许运行 apt-get update 或尝试使用 --fix-missing?

mon*_*ape 42 updates mysql php apt apache2

我在评估板上使用 ubuntu 13.10,但我的互联网无法正常工作。我还需要安装软件,但 apt-get install 也不起作用。

终端说:E:无法获取一些档案,也许运行 apt-get update 或尝试使用 --fix-missing?

来源:http : //www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-13.04-lamp

小智 37

只需输入

sudo apt-get clean 
Run Code Online (Sandbox Code Playgroud)

(并重新安装)

  • 很好用,但是这个命令有什么作用呢? (4认同)

小智 33

运行sudo apt-get update命令。

如果sudo apt-get update也不起作用,请按照以下步骤操作:-

  1. 打开/etc/apt/sources.list文件。
  2. 检字后http://security.ubuntu.com/ubuntu/sources.list的文件,让这个词是xyz
  3. 转到地址http://security.ubuntu.com/ubuntu/,然后单击 diss。现在检查xyz此路径中是否存在。如果不存在,则替换xyz为“dists”中存在的元素,例如:- saucy、lucid、trusty 等。
  4. 现在运行sudo apt-get update命令。

问候

桑杰·夏尔马

  • 我没有在 source.list 文件中得到任何包含“http://security.ubuntu.com/ubuntu/”的条目。 (2认同)