如何在Ubuntu中安装apache2
我正试图在Ubuntu12中安装apache2。我在虚拟机中安装了Ubuntu。我有问题。首先,我的系统无法更新或升级。当我打字时: 我收到很多这样的错误:如何在Ubuntu中安装apache2,apache,ubuntu,Apache,Ubuntu,我正试图在Ubuntu12中安装apache2。我在虚拟机中安装了Ubuntu。我有问题。首先,我的系统无法更新或升级。当我打字时: 我收到很多这样的错误: Err http://security.ubuntu.com quantal-security/main Sources 404 Not Found [IP: 91.189.91.14 80] 在最后一行,这是结果: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis
Err http://security.ubuntu.com quantal-security/main Sources
404 Not Found [IP: 91.189.91.14 80]
在最后一行,这是结果:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
第二,当我尝试安装apache2时。I类型:
sudo apt-get install apache2 apache2-doc apache2-utils
同样,它失败了。结果是:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
e@ubuntu:/etc$sudo apt get安装apache2 apache2 doc apache2 utils
正在阅读软件包列表。。。多恩
构建依赖关系树正在读取状态信息。。。多恩 E:找不到包apache2 E:找不到包apache2文档 E:找不到包apache2 utils e@ubuntu:/etc$ 你能帮我吗 编辑: 这个命令也不起作用
sudo apt-get update && sudo apt-get upgrade
我得到:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.24 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
问题在于操作系统的安装。 使用
sudo-apt-get-update&&sudo-apt-get-upgrade
。如果您无法更新。然后尝试重新安装操作系统。
重新安装操作系统后,请尝试sudo apt get install apache2 apache2 doc apache2 utils