(base) rahul0324@rahul0324-Predator-G3-572:~$ sudo apt updateIgn:1 http://dl.google.com/linux/chrome/deb stable InReleaseHit:2 http://dl.google.com/linux/chrome/deb stable ReleaseHit:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Hit:5 https://packages.microsoft.com/repos/vscode stable InReleaseErr:6 http://archive.ubuntu.com/ubuntu bionic InRelease Could not connect to in.archive.ubuntu.com:80 (10.8.0.100), connection timed outErr:7 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease Unable to connect to in.archive.ubuntu.com:http:Err:8 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease Unable to connect to in.archive.ubuntu.com:http:Err:9 http://in.archive.ubuntu.com/ubuntu bionic-security InRelease Unable to connect to in.archive.ubuntu.com:http:Reading package lists... DoneBuilding dependency treeReading state information... DoneAll packages are up to date.W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to in.archive.ubuntu.com:80 (10.8.0.100), connection timed outW: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to in.archive.ubuntu.com:http:W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to in.archive.ubuntu.com:http:W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Unable to connect to in.archive.ubuntu.com:http:W: Some index files failed to download. They have been ignored, or old ones used instead.
sources.list
deb http://archive.ubuntu.com/ubuntu bionic main restricted deb http://archive.ubuntu.com/ubuntu bionic-updates main restricteddeb http://archive.ubuntu.com/ubuntu bionic universedeb http://archive.ubuntu.com/ubuntu bionic-updates universe deb http://archive.ubuntu.com/ubuntu bionic multiversedeb http://archive.ubuntu.com/ubuntu bionic-updates multiverse deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiversedeb http://in.archive.ubuntu.com/ubuntu/ bionic-security main restricteddeb http://in.archive.ubuntu.com/ubuntu/ bionic-security universedeb http://in.archive.ubuntu.com/ubuntu/ bionic-security multiversedeb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Note - I have already checked by changing "downloads from" in software & Updates.