I just installed Ubuntu 22.04 with Windows Subsystem for Linux following this instructions.
When I run sudo apt install update, I get this errors:
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:1 http://security.ubuntu.com/ubuntu jammy-security InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseErr:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Temporary failure resolving 'security.ubuntu.com'Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseIgn:2 http://archive.ubuntu.com/ubuntu jammy InReleaseIgn:3 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseIgn:4 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseErr:2 http://archive.ubuntu.com/ubuntu jammy InRelease Temporary failure resolving 'archive.ubuntu.com'Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Temporary failure resolving 'archive.ubuntu.com'Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Temporary failure resolving 'archive.ubuntu.com'Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'W: Some index files failed to download. They have been ignored, or old ones used instead.Long time ago (before formatting my PC), I didn't have any problem.
I was unable to find any working solution on Internet. I don't have any VPN (some people say that that is the problem).