Tenho o Ubuntu 20.04.6 LTS em uma máquina e quero atualizar o sistema operacional para 24.04. Executei apt update
e apt upgrade
. Ambos foram executados com sucesso com apt update dando alguns avisos. Quando executo do-release-upgrade
, ele dá
Instale todas as atualizações disponíveis para sua versão antes de atualizar.
Durante a execução apt-update
, ele deu o seguinte aviso
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
W: Some index files failed to download. They have been ignored, or old ones used instead.
Tentei adicionar a chave diretamente usando
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
mas deugpg: keyserver receive failed: Network is unreachable
então tentei o seguinte comando com a ajuda de uma pergunta semelhante
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B7B3B788A8D3785C
mas também jogagpg: keyserver receive failed: Connection timed out
Também tentei obter o IP do keyserver.ubuntu.com usando ping e tentei o seguinte comando:
sudo apt-key adv --keyserver 185.125.188.26 --recv-keys 467B942D3A79BD29
mas também me dá o mesmogpg: keyserver receive failed: Connection timed out
Também tentei adicionar nameserver 8.8.8.8 # Google DNS
máquinas /etc/resolv.conf
, mas o problema persiste.
A máquina está atrás de um firewall e um proxy.