Estos son los mensajes de error:
Err:1 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security InRelease
Could not resolve host: esm.ubuntu.com
Err:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:3 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:4 https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates InRelease
Could not resolve host: esm.ubuntu.com
Reading package lists... Done
W: Failed to fetch http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/InRelease Could not resolve host: esm.ubuntu.com
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-updates/InRelease Could not resolve host: esm.ubuntu.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Respuesta1
Paso 1. Comprueba tu conexión a Internet. Si es malo, cambie a un espejo local. También verifique si su dispositivo está configurado correctamente para conectarse a Internet.
Paso 2. elimine todos los PPA e intentesudo apt update && sudo apt full-upgrade
Paso 3. Intente cambiar manualmente xenial
a bionic
in /etc/apt/sources.list
y todos los archivos en etc/apt/sources.d
y luego sudo apt update
. No he probado esto antes porque es la "forma Debian", pero debería funcionar. Aunque como precaución debes hacer una copia de seguridad de tus archivos.