当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装Apache
帖子发表于 : 2010-07-26 15:16 

注册: 2010-07-26 15:11
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
输入:~# apt-get install apache
输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package apache has no installation candidate


怎么解决,请高手支招……


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装Apache
帖子发表于 : 2010-07-26 15:41 
头像

注册: 2008-08-01 17:25
帖子: 74
送出感谢: 0 次
接收感谢: 0 次
sudo apt-get update


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装Apache
帖子发表于 : 2010-07-26 15:46 

注册: 2010-07-26 15:11
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
运行sudo apt-get update
得到:
Hit http://archive.canonical.com intrepid Release.gpg
Ign http://archive.canonical.com intrepid/partner Translation-en_GB
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_GB
Hit http://archive.ubuntu.com intrepid Release.gpg
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Get: 1 http://us.archive.ubuntu.com intrepid/main Translation-en_GB [27.0kB]
Hit http://archive.canonical.com intrepid Release
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_GB
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_GB
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_GB
Hit http://security.ubuntu.com intrepid-security Release
Hit http://archive.ubuntu.com intrepid Release
Hit http://archive.canonical.com intrepid/partner Packages
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://archive.ubuntu.com intrepid/main Sources
Hit http://archive.canonical.com intrepid/partner Sources
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://archive.ubuntu.com intrepid/restricted Sources
Get: 2 http://us.archive.ubuntu.com intrepid/restricted Translation-en_GB [1135B]
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Get: 3 http://us.archive.ubuntu.com intrepid/universe Translation-en_GB [8049B]
Get: 4 http://us.archive.ubuntu.com intrepid/multiverse Translation-en_GB [46.0kB]
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Get: 5 http://us.archive.ubuntu.com intrepid-updates/main Translation-en_GB [27.0kB]
Get: 6 http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_GB [1135B]
Get: 7 http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_GB [8049B]
Get: 8 http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_GB [46.0kB]
Hit http://us.archive.ubuntu.com intrepid Release
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Fetched 164kB in 5s (30.6kB/s)
Reading package lists... Done


接下来怎么办????


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装Apache
帖子发表于 : 2010-07-26 16:46 
头像

注册: 2008-11-05 13:24
帖子: 1024
送出感谢: 0 次
接收感谢: 5
# apt-get install apache[2]


_________________
笔记
-------------------------------------
http://blog.163.com/wqt_1101


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


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

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

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