当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 在Ubuntu Desktop 14.10 上 安装 LAMP碰到报错
帖子发表于 : 2017-10-11 11:09 

注册: 2017-10-11 10:22
帖子: 3
系统: ubuntu desktop 14.10
送出感谢: 0 次
接收感谢: 0 次
大神们好!

我是ubuntu的新手和菜鸟,刚安装了一个ubuntu 14.10的desktop版本,想安装LAMP。
但是我在使用这个命令的时候碰到这个错误,请问怎么解决?
[email protected]:/# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apache2
使用这个命令的时候碰到这个错误:
[email protected]:/# apt-get update
Ign http://us.archive.ubuntu.com utopic InRelease
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://extras.ubuntu.com utopic InRelease
Ign http://us.archive.ubuntu.com utopic-updates InRelease
Ign http://security.ubuntu.com utopic-security Release.gpg
Hit http://extras.ubuntu.com utopic Release.gpg
Ign http://us.archive.ubuntu.com utopic-backports InRelease
Ign http://security.ubuntu.com utopic-security Release
Hit http://extras.ubuntu.com utopic Release
Ign http://us.archive.ubuntu.com utopic Release.gpg
Hit http://extras.ubuntu.com utopic/main Sources
Ign http://us.archive.ubuntu.com utopic-updates Release.gpg
Hit http://extras.ubuntu.com utopic/main i386 Packages
Ign http://us.archive.ubuntu.com utopic-backports Release.gpg
Ign http://us.archive.ubuntu.com utopic Release
Ign http://us.archive.ubuntu.com utopic-updates Release
Ign http://us.archive.ubuntu.com utopic-backports Release
Ign http://extras.ubuntu.com utopic/main Translation-en_US
Ign http://extras.ubuntu.com utopic/main Translation-en
Err http://security.ubuntu.com utopic-security/main Sources
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/restricted Sources
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/universe Sources
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/multiverse Sources
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/main i386 Packages
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/restricted i386 Packages
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/universe i386 Packages
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com utopic-security/multiverse i386 Packages
404 Not Found [IP: 91.189.88.152 80]
Ign http://security.ubuntu.com utopic-security/main Translation-en_US
Ign http://security.ubuntu.com utopic-security/main Translation-en
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en_US
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en
Ign http://security.ubuntu.com utopic-security/restricted Translation-en_US
Ign http://security.ubuntu.com utopic-security/restricted Translation-en
Ign http://security.ubuntu.com utopic-security/universe Translation-en_US
Ign http://security.ubuntu.com utopic-security/universe Translation-en
Err http://us.archive.ubuntu.com utopic/main Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/restricted Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/universe Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/multiverse Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/main i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/restricted i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/universe i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic/multiverse i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Ign http://us.archive.ubuntu.com utopic/main Translation-en_US
Ign http://us.archive.ubuntu.com utopic/main Translation-en
Ign http://us.archive.ubuntu.com utopic/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com utopic/multiverse Translation-en
Ign http://us.archive.ubuntu.com utopic/restricted Translation-en_US
Ign http://us.archive.ubuntu.com utopic/restricted Translation-en
Ign http://us.archive.ubuntu.com utopic/universe Translation-en_US
Ign http://us.archive.ubuntu.com utopic/universe Translation-en
Err http://us.archive.ubuntu.com utopic-updates/main Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/restricted Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/universe Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/multiverse Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/main i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/restricted i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/universe i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Ign http://us.archive.ubuntu.com utopic-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com utopic-updates/main Translation-en
Ign http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com utopic-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com utopic-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com utopic-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com utopic-updates/universe Translation-en
Err http://us.archive.ubuntu.com utopic-backports/main Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/restricted Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/universe Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/multiverse Sources
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/main i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/restricted i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/universe i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com utopic-backports/multiverse i386 Packages
404 Not Found [IP: 91.189.91.26 80]
Ign http://us.archive.ubuntu.com utopic-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com utopic-backports/main Translation-en
Ign http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en
Ign http://us.archive.ubuntu.com utopic-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com utopic-backports/restricted Translation-en
Ign http://us.archive.ubuntu.com utopic-backports/universe Translation-en_US
Ign http://us.archive.ubuntu.com utopic-backports/universe Translation-en
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.88.152 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... 6/Packages 404 Not Found [IP: 91.189.91.26 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
我的ubuntu是联网的。

谢谢!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 在Ubuntu Desktop 14.10 上 安装 LAMP碰到报错
帖子发表于 : 2017-10-11 11:44 
头像

注册: 2007-11-25 13:29
帖子: 7275
地址: 新疆博乐
系统: 14.04/16.04/Fedroa22
送出感谢: 38
接收感谢: 101
安装长期支持版系统,像14.04/16.04,14.10的更新已经不支持了
也可以先试试XAMPP: https://www.apachefriends.org/download.html


_________________
===新手请看===
Ubuntu 安装 | Ubuntu12.04/14.04/16.04 桌面操作指南
··Ubuntu16.04 安装图文教程(超简单)
····有时间就静下心来——折腾:)


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 在Ubuntu Desktop 14.10 上 安装 LAMP碰到报错
帖子发表于 : 2017-10-11 14:20 

注册: 2017-10-11 10:22
帖子: 3
系统: ubuntu desktop 14.10
送出感谢: 0 次
接收感谢: 0 次
TeliuTe 写道:
安装长期支持版系统,像14.04/16.04,14.10的更新已经不支持了
也可以先试试XAMPP: https://www.apachefriends.org/download.html

感谢回答,安装了14.04版本后就可以正常安装了。谢谢! :Haha


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译