A·S·M·X·T 😏😜
2017-03-08 08:03 deepin
本帖最后由 liululin 于 2017-3-8 00:07 编辑
1.Maybe your command does not have permission to write . You can try:
$ echo "202.141.160.114 packages.deepin.com" |sudo tee -a /etc/hosts
$ echo "52.0.26.226 cdn.packages.deepin.com" |sudo tee -a /etc/hosts
2.If you still can not connect, maybe you can try to change /etc/apt/sources.list
For example:USTC mirror
$ sudo sed -i 's/packages.deepin.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
1.Maybe your command does not have permission to write . You can try:
$ echo "202.141.160.114 packages.deepin.com" |sudo tee -a /etc/hosts
$ echo "52.0.26.226 cdn.packages.deepin.com" |sudo tee -a /etc/hosts
2.If you still can not connect, maybe you can try to change /etc/apt/sources.list
For example:USTC mirror
$ sudo sed -i 's/packages.deepin.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
Reply Like 0 View the author
$ sudo echo "202.141.160.114 packages.deepin.com" >> /etc/hosts
$ sudo echo "52.0.26.226 cdn.packages.deepin.com" >> /etc/hosts
This alleviated the issue of Host cdn.packages.deepin.com not found: 3(NXDOMAIN) errors I get maybe due to my unstable connection.
Hope this quick fix will be of use also to others.