当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 11 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 15:39 
头像

注册: 2009-05-06 22:36
帖子: 44
送出感谢: 0 次
接收感谢: 0 次
以为是防火删了从启还是不行``

代码:
root@ubuntu:/home/qinyong# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:/home/qinyong# sudo apt-get update
Err http://security.ubuntu.com jaunty-security Release.gpg                 
  Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/main Translation-en_US       
  Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/restricted Translation-en_US
  Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/universe Translation-en_US   
  Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
  Could not resolve 'security.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty Release.gpg                         
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty/main Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty/restricted Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty/universe Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty/multiverse Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty-updates Release.gpg
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty-updates/main Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty-updates/universe Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
  Could not resolve 'cn.archive.ubuntu.com'
Reading package lists... Done           
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty/Release.gpg  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty/main/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty/universe/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release.gpg  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jaunty-updates/multiverse/i18n/Translation-en_US.bz2  Could not resolve 'cn.archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/Release.gpg  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/main/i18n/Translation-en_US.bz2  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/i18n/Translation-en_US.bz2  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/universe/i18n/Translation-en_US.bz2  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/multiverse/i18n/Translation-en_US.bz2  Could not resolve 'security.ubuntu.com'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
root@ubuntu:/home/qinyong#


_________________
易楼网 - 北京写字楼网:http://www.eelou.com/index.php


页首
 用户资料  
 
2 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 15:39 
头像

注册: 2009-05-06 22:36
帖子: 44
送出感谢: 0 次
接收感谢: 0 次
是不是我哪个地方改动了```才会这样`` :em06 有知道咋改回来的么`


_________________
易楼网 - 北京写字楼网:http://www.eelou.com/index.php


页首
 用户资料  
 
3 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 15:44 
头像

注册: 2006-06-10 8:43
帖子: 5941
地址: 中国 CS
送出感谢: 0 次
接收感谢: 2
源呢,贴你的源地址看看
换个源试试


_________________
年轻没有失败! ! ! ! ! !
噢!有怪兽,有怪兽!


页首
 用户资料  
 
4 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 16:08 
头像

注册: 2009-05-06 22:36
帖子: 44
送出感谢: 0 次
接收感谢: 0 次
提示无法解析源服务器域名


_________________
易楼网 - 北京写字楼网:http://www.eelou.com/index.php


页首
 用户资料  
 
5 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 16:12 
头像

注册: 2008-12-13 19:39
帖子: 13284
地址: 物华天宝人杰地灵
送出感谢: 1
接收感谢: 6
cat /etc/apt/sources.list的内容出来给楼上的大佬瞧下。


_________________
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!


页首
 用户资料  
 
6 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 16:17 
头像

注册: 2009-05-06 22:36
帖子: 44
送出感谢: 0 次
接收感谢: 0 次
引用:
root@ubuntu:/etc/nginx/sites-available# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 9.04 _Jaunty Jackalope_ - Release amd64 (20090421.1)]/ jaunty main restricted

#deb cdrom:[Ubuntu-Server 9.04 _Jaunty Jackalope_ - Release amd64 (20090421.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cn.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
root@ubuntu:/etc/nginx/sites-available#


_________________
易楼网 - 北京写字楼网:http://www.eelou.com/index.php


页首
 用户资料  
 
7 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-05-22 16:18 
头像

注册: 2009-05-06 22:36
帖子: 44
送出感谢: 0 次
接收感谢: 0 次
来了``我装的时候选的是中国.


_________________
易楼网 - 北京写字楼网:http://www.eelou.com/index.php


页首
 用户资料  
 
8 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-07-08 11:39 

注册: 2008-12-25 22:20
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
我 也遇到同样的问题..但问题不能解决..谁会的可以告诉我吗..这是为什么会这样...
9.04 server版本的..


页首
 用户资料  
 
9 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-07-10 9:14 
头像

注册: 2006-04-19 10:48
帖子: 50
地址: 成都
送出感谢: 0 次
接收感谢: 0 次
换个源嘛,我一直用一个日本的源,速度飞快。

wget http://www.gufeng.net/sources.list
cp sources.list /etc/apt/sources.list

:em09


页首
 用户资料  
 
10 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-07-10 18:02 

注册: 2009-04-26 23:17
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
建议楼主到WIKI上查一下源列表,建议换成台湾地区的,速度很快
http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn


页首
 用户资料  
 
11 楼 
 文章标题 : Re: UBUNTU SERVER无法下载更新源的包是咋的了
帖子发表于 : 2009-07-11 14:30 

注册: 2008-05-22 10:51
帖子: 39
送出感谢: 0 次
接收感谢: 0 次
如果是网通的话 还是选择JP的源比较快


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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