sudo apt-get update一直更新失败怎么办?
Tofloor
poster avatar
moriwuhen
deepin
2017-08-29 03:48
Author
好像从未成功过
提示如下:
zbs@zbs:~$ sudo apt-get update
忽略:1 http://www.scootersoftware.com bcompare4 InRelease                              
命中:2 http://www.scootersoftware.com bcompare4 Release                     
错误:4 http://packages.deepin.com/deepin panda InRelease                          
  无法发起与 packages.deepin.com:80 (2001:da8:d800:95::114) 的连接 - connect (101: 网络不可达) [IP: 2001:da8:d800:95::114 80]
正在读取软件包列表... 完成                             
W: 无法下载 http://packages.deepin.com/deepin/dists/panda/InRelease  无法发起与 packages.deepin.com:80 (2001:da8:d800:95::114) 的连接 - connect (101: 网络不可达) [IP: 2001:da8:d800:95::114 80]
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。


Reply Favorite View the author
All Replies
avatar
许自强
deepin
2017-08-29 03:55
#1
你这是IPv6啊
Reply View the author
avatar
许自强
deepin
2017-08-29 03:57
#2
估计换成IPV4就好了
Reply View the author
avatar
181******61
deepin
2017-08-29 03:59
#3
traceroute试试
Reply View the author
avatar
moriwuhen
deepin
2017-08-29 06:27
#4

不是啊!长城宽带。只是从安装深度系统开始就没更新成功过~
Reply View the author
avatar
jingle
deepin
2017-08-29 16:41
#5
https://bbs.deepin.org/post/144766
不是啊!长城宽带。只是从安装深度系统开始就没更新成功过~

长宽的 网络 不敢恭维  估计是运营商的缓存导致。
Reply View the author
avatar
许自强
deepin
2017-08-29 18:04
#6
moriwuhen 发表于 2017-8-28 22:27
不是啊!长城宽带。只是从安装深度系统开始就没更新成功过~

哦,看到这么多v6地址
Reply View the author
avatar
moriwuhen
deepin
2017-08-31 15:27
#7
继续求解~什么新功能都体验不到。
Reply View the author
avatar
wtz
deepin
2017-08-31 17:03
#8
  1. ifconfig -a
  2. cat /etc/resolv.conf
Copy the Code

把这两个命令的输出贴出来。
Reply View the author
avatar
moriwuhen
deepin
2017-08-31 19:01
#9
https://bbs.deepin.org/post/144766
把这两个命令的输出贴出来。

zbs@zbs:~$ ifconfig -a
enp2s0: flags=4099  mtu 1500
        ether 28:d2:44:02:23:93  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1  (Local Loopback)
        RX packets 256  bytes 21120 (20.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 256  bytes 21120 (20.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163  mtu 1500
        inet 192.168.199.172  netmask 255.255.255.0  broadcast 192.168.199.255
        inet6 fe80::32a3:5133:f00f:37cb  prefixlen 64  scopeid 0x20
        ether 48:51:b7:d3:bc:2e  txqueuelen 1000  (Ethernet)
        RX packets 1207  bytes 1015391 (991.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1281  bytes 329561 (321.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

zbs@zbs:~$ cat /etc/resolv.conf
# Generated by NetworkManager
search lan
nameserver 192.168.199.1
zbs@zbs:~$
Reply View the author
avatar
wtz
deepin
2017-08-31 21:29
#10
换个dns试试,在控制中心里直接设置 114.114.114.114 或者 8.8.8.8。
Reply View the author
avatar
moriwuhen
deepin
2017-09-03 06:13
#11
https://bbs.deepin.org/post/144766
长宽的 网络 不敢恭维  估计是运营商的缓存导致。

https://bbs.deepin.org/user/39515
确定是长城宽带的问题。换个别人的联通宽带就可以更新了。
至于IPv6的问题,大概是系统自动启用的,可以关闭,但对系统更新的问题无效,包括设置DNS8.8.8.8。
论坛找到了相关的帖子https://bbs.deepin.org/post/42522
Reply View the author
avatar
jingle
deepin
2017-09-04 17:36
#12
https://bbs.deepin.org/post/144766
@hyikesong
确定是长城宽带的问题。换个别人的联通宽带就可以更新了。
至于IPv6的问题,大概是系统自动 ...

有时候长宽的网络存在一些问题
Reply View the author
avatar
unixfun
deepin
2017-10-17 03:01
#13
我也出现类似的问题,因为点系统更新总是出现安装失败,通过终端更新又出现楼主的问题,怎么解决
Reply View the author
avatar
moriwuhen
deepin
2017-10-17 19:19
#14
https://bbs.deepin.org/post/144766
我也出现类似的问题,因为点系统更新总是出现安装失败,通过终端更新又出现楼主的问题,怎么解决 ...

我的应该是长城宽带的问题。换成其他宽带就解决了。
不过目前我的又出现其他问题ppa什么的,懒得管了。
Reply View the author