关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

Trusty Tahr (长期支持)
回复
xzqw2004
帖子: 5
注册时间: 2017-07-27 16:54
系统: ubuntu14.045 server
送出感谢: 0
接收感谢: 0

关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#1

帖子 xzqw2004 » 2017-07-28 10:19

大家好!
我刚刚重装的14.045的系统,网卡和dns都设置完毕,能ping www.baidu.com等网站,但运行 sudo apt-get update 等不能正常,更换过163的源,也不行,
按照网上的方法 删除 $ sudo rm /var/lib/apt/lists/* -vf 还是一样不行
请大神支招
---------------------------------------------------------
Ign http://cn.archive.ubuntu.com trusty InRelease
Ign http://cn.archive.ubuntu.com trusty-updates InRelease
Ign http://cn.archive.ubuntu.com trusty-backports InRelease
Err http://cn.archive.ubuntu.com trusty Release.gpg
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates Release.gpg
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports Release.gpg
Connection failed [IP: 112.124.140.210 80]
Ign http://cn.archive.ubuntu.com trusty Release
Ign http://cn.archive.ubuntu.com trusty-updates Release
Ign http://cn.archive.ubuntu.com trusty-backports Release
Ign http://security.ubuntu.com trusty-security InRelease
Err http://security.ubuntu.com trusty-security Release.gpg
Connection failed [IP: 91.189.88.149 80]
Ign http://security.ubuntu.com trusty-security Release
Err http://cn.archive.ubuntu.com trusty/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-updates/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://cn.archive.ubuntu.com trusty-backports/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://security.ubuntu.com trusty-security/main Sources
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/restricted Sources
Connection failed [IP: 91.189.88.162 80]
Err http://security.ubuntu.com trusty-security/universe Sources
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/multiverse Sources
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/main amd64 Packages
Connection failed [IP: 91.189.88.162 80]
Err http://security.ubuntu.com trusty-security/restricted amd64 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/universe amd64 Packages
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Connection failed [IP: 91.189.88.162 80]
Err http://security.ubuntu.com trusty-security/main i386 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/restricted i386 Packages
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/universe i386 Packages
Connection failed [IP: 91.189.88.162 80]
Err http://security.ubuntu.com trusty-security/multiverse i386 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/main Translation-en
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/multiverse Translation-en
Connection failed [IP: 91.189.88.162 80]
Err http://security.ubuntu.com trusty-security/restricted Translation-en
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/universe Translation-en
Connection failed [IP: 91.189.88.149 80]
W:some index files failed to download .they have been ignored,or old ones used instead
---------------------------------------------------------------------------
poloshiao
论坛版主
帖子: 18235
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1947 次

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#2

帖子 poloshiao » 2017-07-28 14:56

把下面指令 複製 貼進終端機 執行
1. ping -c 3 cn.archive.ubuntu.com
2. ping -c 3 security.ubuntu.com
3. ping -c 3 forum.ubuntu.org.cn
4. sudo cat /etc/apt/sources.list
5. sudo cat /etc/resolv.conf
把結果全部直接 選取/複製/貼上來
xzqw2004
帖子: 5
注册时间: 2017-07-27 16:54
系统: ubuntu14.045 server
送出感谢: 0
接收感谢: 0

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#3

帖子 xzqw2004 » 2017-07-28 16:08

poloshiao 写了:把下面指令 複製 貼進終端機 執行
1. ping -c 3 cn.archive.ubuntu.com
2. ping -c 3 security.ubuntu.com
3. ping -c 3 forum.ubuntu.org.cn
4. sudo cat /etc/apt/sources.list
5. sudo cat /etc/resolv.conf
把結果全部直接 選取/複製/貼上來
ping -c 3 cn.archive.ubuntu.com
PING mirrors.aliyun.com (115.28.122.210) 56(84) bytes of data.
64 bytes from 115.28.122.210: icmp_seq=1 ttl=52 time=40.3 ms
64 bytes from 115.28.122.210: icmp_seq=2 ttl=52 time=40.0 ms
64 bytes from 115.28.122.210: icmp_seq=3 ttl=52 time=42.4 ms

--- mirrors.aliyun.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 40.099/40.984/42.456/1.047 ms

PING security.ubuntu.com (91.189.91.26) 56(84) bytes of data.
64 bytes from hanger.canonical.com (91.189.91.26): icmp_seq=1 ttl=51 time=295 ms
64 bytes from hanger.canonical.com (91.189.91.26): icmp_seq=2 ttl=51 time=295 ms
64 bytes from hanger.canonical.com (91.189.91.26): icmp_seq=3 ttl=51 time=295 ms

--- security.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 295.101/295.324/295.518/0.475 ms

PING forum.ubuntu.org.cn (192.157.249.221) 56(84) bytes of data.
64 bytes from 221.249-157-192.rdns.scalabledns.com (192.157.249.221): icmp_seq=1 ttl=43 time=250 ms
64 bytes from 221.249-157-192.rdns.scalabledns.com (192.157.249.221): icmp_seq=2 ttl=43 time=303 ms
64 bytes from 221.249-157-192.rdns.scalabledns.com (192.157.249.221): icmp_seq=3 ttl=43 time=245 ms

--- forum.ubuntu.org.cn ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2023ms
rtt min/avg/max/mdev = 245.623/266.745/303.927/26.379 ms

soucrces.list 我换成阿里云的了
---------------------------------------
#

# deb cdrom:[Ubuntu-Server 14.04.5 LTS _Trusty Tahr_ - Release amd64 (20160803)]/ trusty main restricted

#deb cdrom:[Ubuntu-Server 14.04.5 LTS _Trusty Tahr_ - Release amd64 (20160803)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted

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

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

resolv.conf
-------------------------------------------
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 202.96.134.133
poloshiao
论坛版主
帖子: 18235
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1947 次

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#4

帖子 poloshiao » 2017-07-28 17:24

soucrces.list 我换成阿里云的了
1. sudo apt-get update
看看 有沒有改善
2. 如果沒有改善 等網路情況穩定一點 例如 清晨一大早 5 點 前後
再試試
sudo apt-get update
3. 如果還是有錯誤訊息 全部複製貼上來
xzqw2004
帖子: 5
注册时间: 2017-07-27 16:54
系统: ubuntu14.045 server
送出感谢: 0
接收感谢: 0

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#5

帖子 xzqw2004 » 2017-07-28 17:43

poloshiao 写了:
soucrces.list 我换成阿里云的了
1. sudo apt-get update
看看 有沒有改善
2. 如果沒有改善 等網路情況穩定一點 例如 清晨一大早 5 點 前後
再試試
sudo apt-get update
3. 如果還是有錯誤訊息 全部複製貼上來
---------------
还是一样

Ign http://mirrors.aliyun.com trusty InRelease
Ign http://mirrors.aliyun.com trusty-updates InRelease
Ign http://mirrors.aliyun.com trusty-backports InRelease
Err http://mirrors.aliyun.com trusty Release.gpg
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates Release.gpg
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports Release.gpg
Connection failed [IP: 112.124.140.210 80]
Ign http://mirrors.aliyun.com trusty Release
Ign http://mirrors.aliyun.com trusty-updates Release
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://mirrors.aliyun.com trusty-backports Release
Err http://security.ubuntu.com trusty-security Release.gpg
Connection failed [IP: 91.189.88.149 80]
Ign http://security.ubuntu.com trusty-security Release
Err http://mirrors.aliyun.com trusty/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-updates/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/main Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/restricted Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/universe Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/multiverse Sources
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/main amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/restricted amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/universe amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/multiverse amd64 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/main i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/restricted i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/universe i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/multiverse i386 Packages
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/main Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/multiverse Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/restricted Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://mirrors.aliyun.com trusty-backports/universe Translation-en
Connection failed [IP: 112.124.140.210 80]
Err http://security.ubuntu.com trusty-security/main Sources
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/restricted Sources
Connection failed [IP: 91.189.91.23 80]
Err http://security.ubuntu.com trusty-security/universe Sources
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/multiverse Sources
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/main amd64 Packages
Connection failed [IP: 91.189.91.23 80]
Err http://security.ubuntu.com trusty-security/restricted amd64 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/universe amd64 Packages
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Connection failed [IP: 91.189.91.23 80]
Err http://security.ubuntu.com trusty-security/main i386 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/restricted i386 Packages
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/universe i386 Packages
Connection failed [IP: 91.189.91.23 80]
Err http://security.ubuntu.com trusty-security/multiverse i386 Packages
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/main Translation-en
Connection failed [IP: 91.189.88.149 80]
Err http://security.ubuntu.com trusty-security/multiverse Translation-en
Connection failed [IP: 91.189.91.23 80]
Err http://security.ubuntu.com trusty-security/restricted Translation-en
Connection failed [IP: 91.189.88.161 80]
Err http://security.ubuntu.com trusty-security/universe Translation-en
Connection failed [IP: 91.189.88.149 80]
poloshiao
论坛版主
帖子: 18235
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1947 次

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#6

帖子 poloshiao » 2017-07-28 18:34

Err http://mirrors.aliyun.com trusty Release.gpg
Connection failed [IP: 112.124.140.210 80]
... 其它重複 省略
Err http://security.ubuntu.com trusty-security Release.gpg
Connection failed [IP: 91.189.88.149 80]
... 其它重複 省略
兩個都沒連上
猜測 網路有問題
等網路情況穩定一點 例如 清晨一大早 5 點 前後
再試試
头像
九天星
帖子: 1347
注册时间: 2007-07-14 20:45
送出感谢: 67 次
接收感谢: 39 次

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#7

帖子 九天星 » 2017-07-28 22:53

我在一个月前也遇到了这个问题,最后没找到办法解决,只有换到16.04LTS版本了,可能是有了16.04LTS,LINUX基金会就不太愿意管14.04LTS了吧。。。。以上纯属我瞎说。

我个人分析,不一定对啊。。。。。我分析可能是中国GFW封锁的问题引起。而更换163源或阿里源也不行的原因就是那些公司没更新。
xzqw2004
帖子: 5
注册时间: 2017-07-27 16:54
系统: ubuntu14.045 server
送出感谢: 0
接收感谢: 0

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#8

帖子 xzqw2004 » 2017-07-29 16:54

谢谢,在家里用adsl的可以更新,估计公司的防火墙屏蔽了。。不过网页直接可以打开,可能屏蔽linux下的下载功能?? :Faint
poloshiao
论坛版主
帖子: 18235
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1947 次

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#9

帖子 poloshiao » 2017-07-29 17:34

可能屏蔽linux下的下载功能??
多試幾次 再下結論
也可以查閱一下 記錄檔
xzqw2004
帖子: 5
注册时间: 2017-07-27 16:54
系统: ubuntu14.045 server
送出感谢: 0
接收感谢: 0

Re: 关于ubuntu 运行sudo apt-get update upgrade 等失败问题咨询

#10

帖子 xzqw2004 » 2017-07-31 11:08

poloshiao 写了:
可能屏蔽linux下的下载功能??
多試幾次 再下結論
也可以查閱一下 記錄檔
真的是公司的应用防火墙屏蔽了,今天我把我那个机器的IP 去掉屏蔽 就搞定了,更新正常,谢谢你!
回复

回到 “Ubuntu 14.04 LTS”