代理设置求助
Tofloor
poster avatar
shar2017
deepin
2017-10-24 22:29
Author
我在安装了deepin 15.4.1桌面版,因为使用环境中使用代理服务器,配置后浏览器可以正常使用,但无法进行软件、系统更新,提示:
“无法下载 http://packages.deepin.com/deepin/dists/panda/InRelease  无法发起与 packages.deepin.com:80 的连接 - connect (101: 网络不可达) ”

不知道应该如何设置可以解决以上问题,请高手指点,谢谢!
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-10-24 22:36
#1
看看你的代理如何设置的?
Reply View the author
avatar
shar2017
deepin
2017-10-24 22:43
#2
https://bbs.deepin.org/post/147144
看看你的代理如何设置的?

我是修改了etc/profile文件,在最后增加了 “ http_proxy=代理服务器ip:端口 ”的记录,但只能访问,不能更新软件,也不能通过软件商店下载软件。
Reply View the author
avatar
justforlxz
deepin
2017-10-24 22:46
#3
提示的很清楚了,你的代理无法访问仓库的地址。
Reply View the author
avatar
jingle
deepin
2017-10-24 22:47
#4
https://bbs.deepin.org/post/147144
我是修改了etc/profile文件,在最后增加了 “ http_proxy=代理服务器ip:端口 ”的记录,但只能访问,不能 ...

为何不在这里设置呢
Reply View the author
avatar
shar2017
deepin
2017-10-24 22:49
#5
https://bbs.deepin.org/post/147144
为何不在这里设置呢

这里也设置了,还是一样的不行。
Reply View the author
avatar
shar2017
deepin
2017-10-24 22:54
#6
https://bbs.deepin.org/post/147144
提示的很清楚了,你的代理无法访问仓库的地址。

我知道无法访问,现在就是要找解决办法,不然都没办法用了。
Reply View the author
avatar
shar2017
deepin
2017-10-24 23:01
#7
会不会是因为我安装在虚拟机里的原因导致的这样的情况 ?
Reply View the author
avatar
justforlxz
deepin
2017-10-24 23:53
#8
https://bbs.deepin.org/post/147144
我知道无法访问,现在就是要找解决办法,不然都没办法用了。

当然是上你的代理服务器上测试能否正确的访问packages.deepin.com咯,你应该在本地用个什么工具,国内ip不要走代理之类的。
Reply View the author
avatar
shar2017
deepin
2017-10-25 00:31
#9
本帖最后由 shar2017 于 2017-10-24 16:36 编辑
https://bbs.deepin.org/post/147144
当然是上你的代理服务器上测试能否正确的访问packages.deepin.com咯,你应该在本地用个什么工具,国内ip ...

不是我想走啊,我们公司都统一走代理,这是没办法的事,用台式机、虚拟机浏览器访问这个地址是正常的。

Reply View the author
avatar
shar2017
deepin
2017-10-25 21:46
#10
唉!就没有人人能来帮助我一下吗?
Reply View the author
avatar
jingle
deepin
2017-10-25 22:07
#11
https://bbs.deepin.org/post/147144
唉!就没有人人能来帮助我一下吗?

https://bbs.deepin.org/user/33250 看看吧
Reply View the author
avatar
electricface
deepin
2017-10-25 22:49
#12
apt 有自己的代理配置,改其它地方也没用。
Reply View the author
avatar
electricface
deepin
2017-10-25 22:57
#13
用root权限编辑文件 /etc/apt/apt.conf

加上这行
Acquire::http:roxy "http://yourproxyaddress:proxyport";

替换里面的 yourproxyaddress 和 proxyport

参考:
https://askubuntu.com/questions/257290/configure-proxy-for-apt
Reply View the author
avatar
shar2017
deepin
2017-10-25 23:30
#14
https://bbs.deepin.org/post/147144
用root权限编辑文件 /etc/apt/apt.conf

加上这行

我的没有apt.conf这个文件,只有apt.conf.d这个文件。
Reply View the author
avatar
shar2017
deepin
2017-10-25 23:35
#15
https://bbs.deepin.org/post/147144
用root权限编辑文件 /etc/apt/apt.conf

加上这行

好象可以了,谢谢!我记得之前我设置过一次是设置了socks5的代理地址可以更新,这次用另一种方法解决了,而且还不用安装软件,非常谢谢!
Reply View the author
avatar
ugenehan
deepin
2018-08-17 17:25
#16
1年了,竟然还没有解决问题。同样的问题
Reply View the author
avatar
177******38
deepin
2018-08-17 17:37
#17
测试我的小尾巴看看
Reply View the author