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