I had faced this issue a lot of times when i try to download / install any software, i was able to access the same URL in browser but not in terminal:
I fixed my problem by fixing a DNS address manually into file /etc/resolv.conf to DNS address of my operator.
Previously it was set to 192.168.0.254 by Ubuntu.
$cat /etc/resov.conf
nameserver 8.8.8.8
nameserver 192.168.0.254
No comments:
Post a Comment