System details:
- Windows 11 Pro
- Official ISO image from Microsoft's website + Christitus WinUtil to create a custom image (used to remove bloatware)
Problem details, to summarize the problem here are commands and their respective responses in the terminal:
ping google.com
-> ping: google.com: Temporary failure in name resolutionping 1.1.1.1
-> ping: connect: Network is unreachablesudo apt update
->
"Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 (link for Ubuntu archive) jammy-updates InRelease
Ign:4 (link for Ubuntu archive) jammy-backports InRelease
Err:2 (link for Ubuntu archive) jammy InRelease
Temporary failure resolving '(link for Ubuntu archive)'
Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:3 (link for Ubuntu archive) jammy-updates InRelease
Temporary failure resolving '(link for Ubuntu archive)'
Err:4 (link for Ubuntu archive) jammy-backports InRelease
Temporary failure resolving '(link for Ubuntu archive)'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All 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."\
What I have tried:
- changed
/etc/resolv.conf
and/etc/wsl.conf
- made
etc/resolv.conf
immutable - reset network settings
- unregistered Ubuntu and disabled Hyper-V **Virtual Machine Platform" and "WSL" multiple times (rebooted after every single disable and enable)
Results: None, nothing worked, nothing fixed the problem