求助,无法使用apt安装软件
Tofloor
poster avatar
zhongzj
deepin
2018-08-22 15:58
Author
无论是阿里源还是官方源,在家里可以正常使用,在办公室都不行,改dns 也没用,装Fedora的话,yum可以正常使用。。所以我该咋办? 搞个本地镜像吗?
Reply Favorite View the author
All Replies
avatar
136******29
deepin
2018-08-22 16:27
#1
你应该把错误信息贴出来,否则谁能知道什么问题呢
Reply View the author
avatar
zhongzj
deepin
2018-08-22 23:47
#2
https://bbs.deepin.org/post/167531
你应该把错误信息贴出来,否则谁能知道什么问题呢

行,我发了,麻烦你看看
Reply View the author
avatar
zhongzj
deepin
2018-08-22 23:49
#3
root@zzj-pc:~# apt-get update
Err:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
  Connection failed [IP: 121.9.229.239 80]
Err:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
  Connection failed [IP: 121.9.229.123 80]
Err:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
  Connection failed [IP: 121.9.229.122 80]
Err:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
  Connection failed [IP: 121.9.229.171 80]
Err:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
  Connection failed [IP: 121.9.229.239 80]
Reading package lists... Done
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/bionic/InRelease  Connection failed [IP: 121.9.229.239 80]
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/bionic-security/InRelease  Connection failed [IP: 121.9.229.123 80]
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/bionic-updates/InRelease  Connection failed [IP: 121.9.229.122 80]
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/bionic-proposed/InRelease  Connection failed [IP: 121.9.229.171 80]
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/bionic-backports/InRelease  Connection failed [IP: 121.9.229.239 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reply View the author
avatar
zhongzj
deepin
2018-08-22 23:51
#4
https://bbs.deepin.org/post/167531
root@zzj-pc:~# apt-get update
Err:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
  Connection f ...

deepin被我删了,这个是win10的Linux子系统报的错,晚上再发deepin的
Reply View the author
avatar
zhongzj
deepin
2018-08-23 03:16
#5
有人没?帮我看看啊

Reply View the author
avatar
zhongzj
deepin
2018-08-23 03:17
#6
root@zhongzj-PC:~# apt-get update
错误:1 http://packages.deepin.com/deepin panda InRelease
  连接失败 [IP: 202.141.160.114 80]
正在读取软件包列表... 完成
W: 无法下载 http://packages.deepin.com/deepin/dists/panda/InRelease  连接失败 [IP: 202.141.160.114 80]
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
Reply View the author
avatar
WENWEN
deepin
2018-08-23 05:58
#7
https://bbs.deepin.org/post/167531
root@zhongzj-PC:~# apt-get update
错误:1 http://packages.deepin.com/deepin panda InRelease
  连接失 ...

有没有开代理什么的 直接ping的通吗?
Reply View the author
avatar
136******29
deepin
2018-08-23 16:22
#8
8楼的说的不错,朝网络链路方向找问题
Reply View the author
avatar
zhongzj
deepin
2018-08-23 16:30
#9
https://bbs.deepin.org/post/167531
有没有开代理什么的 直接ping的通吗?

昨晚新装了个deepin,还是不行,ping的话,202.141.160.114  可以ping通
Reply View the author
avatar
zhongzj
deepin
2018-08-23 16:32
#10
https://bbs.deepin.org/post/167531
8楼的说的不错,朝网络链路方向找问题

很奇怪啊,Fedora系列的可以正常用啊,就算debian系列的不能用,Ubuntu 不行,deepin也不行,阿里源不行,网易源也不行,到家里又正常了
Reply View the author
avatar
WENWEN
deepin
2018-08-23 16:33
#11
https://bbs.deepin.org/post/167531
8楼的说的不错,朝网络链路方向找问题

我怀疑他们公司对端口  网络什么进行了限制,说家里可以 公司不行。
Reply View the author
avatar
zhongzj
deepin
2018-08-23 16:33
#12
https://bbs.deepin.org/post/167531
8楼的说的不错,朝网络链路方向找问题

fedora、centos可以正常安装,Ubuntu和deepin不行,换源也没用...回家就好了
Reply View the author
avatar
zhongzj
deepin
2018-08-23 16:38
#13
我。。。刚刚试了下中科大的源,Ubuntu可以正常更新了。还有这操作??
Reply View the author
avatar
wildlife
deepin
2018-08-23 18:50
#14
源使用 HTTPS 试试
Reply View the author
avatar
zhongzj
deepin
2018-08-23 19:35
#15
https://bbs.deepin.org/post/167531
源使用 HTTPS 试试

还有这操作?我试试,看了下好像真有可能啊
Reply View the author
avatar
zhongzj
deepin
2018-08-23 19:39
#16
https://bbs.deepin.org/post/167531
源使用 HTTPS 试试

试了下,Ubuntu 用阿里源 换成https可以了
Reply View the author
avatar
wildlife
deepin
2018-08-23 19:56
#17
https://bbs.deepin.org/post/167531
还有这操作?我试试,看了下好像真有可能啊

HTTPS 不会被劫持
Reply View the author
avatar
zhongzj
deepin
2018-08-23 21:03
#18

什么意思?
Reply View the author
avatar
wildlife
deepin
2018-08-23 22:44
#19
本帖最后由 lanseyujie 于 2018-8-23 14:47 编辑

HTTP 通信无加密,可以通过中间人攻击等手段(好像一些公司内防火墙就有这种效果,ping的通但 http 访问不了,网站支持 https 话使用 https 就正常了)静默的篡改或阻断网站内容。
Reply View the author