Wednesday, April 19, 2017

Debian Jessie Apt-Get Connection problem


Encountered following error message in apt-get command in Debian jessie:

Cannot initiate the connection to cdn-fastly.deb.debian.org:80 (2a04:4e42:1d::204). - connect (101: Network is unreachable)

search result found that this might be the system using ipv6 in the procedure

The solution can be either way of following:

1. use -o option in command line:

apt-get -o Acquire::ForceIPv4=true update

or 
2. Change system configuration:


echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4

No comments:

Post a Comment

NYSE:ORCL -- Oracle

26-03-11 ☁️ Oracle:杠杆的艺术 2026财年第三季度关键指标: ☁️营收增长加速(但存在一些问题):总营收达到 172 亿美元,同比增长 22%。按固定汇率计算,增长率仅为 18%,这意味着部分增长来自汇率波动,而非实际需求。 📦 积压订单持续攀升:RPO 达...