Deepin new package installation and updates improved after I did these steps
Tofloor
poster avatar
djwisdom
deepin
2017-03-08 07:03
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.


Reply Favorite View the author
All Replies
A·S·M·X·T 😏😜
deepin
2017-03-08 08:03
#1
本帖最后由 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
Reply View the author
laoguang
deepin
2017-03-08 18:09
#2
manually edited to use tsukuba server ever since 15.2...
Reply View the author