Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

After reinstalling ubuntu on windows wsl I'm not able to run apt commands - 12% [Waiting for headers]

$
0
0

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease

Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease

Connection failed [IP: ]

Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease

Connection failed [IP: ]

Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease

Connection failed [IP: ]

Ign:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Ign:6 http://archive.ubuntu.com/ubuntu focal/universe Translation-en

12% [Waiting for headers]

This is what I get when I run apt update

I have tried most solutions available nothing seems to work.

  1. sudo apt-get clean

  2. Updated resolv.conf

  3. Moving /var/lib/apt/lists

  4. /etc/environment does not have a proxy set

Please help with this

It works fine when I am connected to VPN


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>