高手指教,server版的ubuntu换了软件源怎么还是连不上啊!!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
minxiaoxiang
帖子: 10
注册时间: 2013-02-20 8:50
系统: ubuntu

高手指教,server版的ubuntu换了软件源怎么还是连不上啊!!!

#1

帖子 minxiaoxiang » 2013-02-22 16:53

错误如下:
apt-get update
Err http://mirrors.163.com precise InRelease

Err http://mirrors.163.com precise-updates InRelease
我的软件源为如下:
#

# deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ precise main restricted

#deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ precise 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/ precise main restricted
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
#deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-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/ precise universe
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise universe
#deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-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/ precise multiverse
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
#deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
## 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/ precise-backports main restricted universe multiverse
#deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

#deb http://security.ubuntu.com/ubuntu precise-security main restricted
#deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
#deb http://security.ubuntu.com/ubuntu precise-security universe
#deb-src http://security.ubuntu.com/ubuntu precise-security universe
#deb http://security.ubuntu.com/ubuntu precise-security multiverse
#deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted
deb http://mirrors.163.com/ubuntu/ precise-security universe
deb-src http://mirrors.163.com/ubuntu/ precise-security universe
deb http://mirrors.163.com/ubuntu/ precise-security multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security 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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
minxiaoxiang
帖子: 10
注册时间: 2013-02-20 8:50
系统: ubuntu

Re: 高手指教,server版的ubuntu换了软件源怎么还是连不上啊!!!

#2

帖子 minxiaoxiang » 2013-02-22 17:35

谢谢各位了,自己找到原因了
elysium0101
帖子: 1
注册时间: 2013-04-18 11:08

Re: 高手指教,server版的ubuntu换了软件源怎么还是连不上啊!!!

#3

帖子 elysium0101 » 2013-04-18 11:11

楼主,我遇到同样问题了,请问你是什么原因


额,我也找到原因了,网络没配好
上次由 elysium0101 在 2013-04-18 11:33,总共编辑 1 次。
头像
b33e
帖子: 3864
注册时间: 2011-06-07 14:20
系统: Mint18

Re: 高手指教,server版的ubuntu换了软件源怎么还是连不上啊!!!

#4

帖子 b33e » 2013-04-18 11:16

注释的内容就没必要贴了 :em01
回复