Imperiaonline I ve been using WSL for a few years now and this is the first really annoying hiccup I ve had since WSL2 came out Well hopefully it will not return any time soon
Once the upgrade is successful you can remove the etc wsl conf file and restart wsl if you do not want to run Ubuntu WSL with systemd it s a little lighter weight without it if you don t Try the following to test connectivity to the actual Ubuntu servers This topic was automatically closed after 30 days New replies are no longer allowed
Imperiaonline
Imperiaonline
[img_title-2]
[img_title-3]
To restore apt update functionality it is necessary to update the repository URLs accordingly For Ubuntu 24 04 the relevant URLs are stored in Resolve package installation failures and restore apt functionality on Ubuntu 24 04 by addressing repository issues cache updates and package availability
It seems that your WSL instance is encountering difficulties in resolving package sources potentially due to DNS issues I had a similar problem and the following steps helped me resolve it Fix common apt get update failures on Ubuntu including GPG key errors 404 repository errors network connectivity issues and broken source list configurations
More picture related to Imperiaonline
[img_title-4]
[img_title-5]
[img_title-6]
Hello I am trying to set up my WSL and I need to use sudo apt update but it s not working It s stuck at 0 waiting for headers and eventually just moves to the next one but throws an Otherwise please attach logs by following the instructions below your issue will not be reviewed unless they are added These logs will help us understand what is going on in your machine
[desc-10] [desc-11]
[img_title-7]
[img_title-8]
https://discourse.ubuntu.com
I ve been using WSL for a few years now and this is the first really annoying hiccup I ve had since WSL2 came out Well hopefully it will not return any time soon
https://askubuntu.com › questions
Once the upgrade is successful you can remove the etc wsl conf file and restart wsl if you do not want to run Ubuntu WSL with systemd it s a little lighter weight without it if you don t
[img_title-9]
[img_title-7]
[img_title-10]
[img_title-11]
[img_title-12]
[img_title-13]
[img_title-13]
[img_title-14]
[img_title-15]
[img_title-16]
Imperiaonline - [desc-14]