UBUNTU SERVER无法下载更新源的包是咋的了

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
qin810326
帖子: 44
注册时间: 2009-05-06 22:36

UBUNTU SERVER无法下载更新源的包是咋的了

#1

帖子 qin810326 » 2009-05-22 15:39

以为是防火删了从启还是不行``

代码: 全选

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
头像
qin810326
帖子: 44
注册时间: 2009-05-06 22:36

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#2

帖子 qin810326 » 2009-05-22 15:39

是不是我哪个地方改动了```才会这样`` :em06 有知道咋改回来的么`
易楼网 - 北京写字楼网:http://www.eelou.com/index.php
头像
xiehuoli
帖子: 5941
注册时间: 2006-06-10 8:43
来自: 中国 CS

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#3

帖子 xiehuoli » 2009-05-22 15:44

源呢,贴你的源地址看看
换个源试试
年轻没有失败! ! ! ! ! !
噢!有怪兽,有怪兽!
头像
qin810326
帖子: 44
注册时间: 2009-05-06 22:36

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#4

帖子 qin810326 » 2009-05-22 16:08

提示无法解析源服务器域名
易楼网 - 北京写字楼网:http://www.eelou.com/index.php
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#5

帖子 wangdu2002 » 2009-05-22 16:12

cat /etc/apt/sources.list的内容出来给楼上的大佬瞧下。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
qin810326
帖子: 44
注册时间: 2009-05-06 22:36

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#6

帖子 qin810326 » 2009-05-22 16:17

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
头像
qin810326
帖子: 44
注册时间: 2009-05-06 22:36

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#7

帖子 qin810326 » 2009-05-22 16:18

来了``我装的时候选的是中国.
易楼网 - 北京写字楼网:http://www.eelou.com/index.php
gi5ban18
帖子: 20
注册时间: 2008-12-25 22:20

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#8

帖子 gi5ban18 » 2009-07-08 11:39

我 也遇到同样的问题..但问题不能解决..谁会的可以告诉我吗..这是为什么会这样...
9.04 server版本的..
头像
windkoo
帖子: 50
注册时间: 2006-04-19 10:48
来自: 成都
联系:

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#9

帖子 windkoo » 2009-07-10 9:14

换个源嘛,我一直用一个日本的源,速度飞快。

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

:em09
lykyl
帖子: 4
注册时间: 2009-04-26 23:17

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#10

帖子 lykyl » 2009-07-10 18:02

建议楼主到WIKI上查一下源列表,建议换成台湾地区的,速度很快
http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn
mobilesuit
帖子: 39
注册时间: 2008-05-22 10:51

Re: UBUNTU SERVER无法下载更新源的包是咋的了

#11

帖子 mobilesuit » 2009-07-11 14:30

如果是网通的话 还是选择JP的源比较快
回复