|
宝塔面板里面点击更新/修复无反应,终端命令提示:
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0curl: (7) Failed to connect to 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9: Network is unreachable
复制代码 解决办法:
在终端执行下面命令:
- sed -i "/bt.cn/d" /etc/hosts
- echo "128.1.164.196 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn" >> /etc/hosts
复制代码 之后再执行更新/修复即可!
|
|