
Simon Correa Henao
PreguntaHola, me volvió a ocurrir un error que creía ya había resuelto antes, pero parece que la solución no era permanente, me pueden ayudar?
Es este:
$ sudo apt-get update && sudo apt-get upgrade [sudo] password for : Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving 'security.ubuntu.com' Err:2 http://archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'archive.ubuntu.com' Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Temporary failure resolving 'archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease Temporary failure resolving 'security.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Simon Correa Henao
No podía. Se bloqueaban todas las conexiones. Al final resultó ser que el firewall estaba bloqueando esas conexiones, y tuve que crear una excepción o una regla para poder seguir trabajando naturalmente con WSL2. En particular, como mi antivirus es BitDefender me sirvió esta solución, pero también se han solucionado para otros antivirus... Link WSL Issue

Luis Rodriguez
suena a un problema de DNS, podes hacer ping desde la consola a alguna direccion de google ejemplo? ping 8.8.8.8 (y obtienes respuesta?)