Erro na atualização de segurança Ubuntu

Após a notícia do blog sobre Vulnerabilidade afeta o Sudo no Ubuntu e derivado tentei fazer a atualização e deixar meu sistema seguro, mas obtive os seguintes erros:

~$ sudo apt update && sudo apt dist-upgrade
Atingido:1 http://archive.canonical.com/ubuntu disco InRelease
Atingido:2 http://archive.ubuntu.com/ubuntu disco InRelease
Obter:3 http://security.ubuntu.com/ubuntu disco-security InRelease [97,5 kB]
Atingido:4 https://dl.winehq.org/wine-builds/ubuntu disco InRelease
Atingido:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu disco InRelease
Atingido:6 https://brave-browser-apt-release.s3.brave.com disco InRelease
Atingido:7 http://mcpelauncher.mrarm.io/apt/ubuntu disco InRelease
Obter:8 http://security.ubuntu.com/ubuntu disco-security/main amd64 DEP-11 Metadata [37,5 kB]
Obter:9 http://security.ubuntu.com/ubuntu disco-security/main DEP-11 48x48 Icons [12,9 kB]
Obter:10 http://security.ubuntu.com/ubuntu disco-security/main DEP-11 64x64 Icons [27,4 kB]
Atingido:11 http://br.archive.ubuntu.com/ubuntu disco InRelease
Obter:12 http://br.archive.ubuntu.com/ubuntu disco-updates InRelease [97,5 kB]
Obter:13 http://br.archive.ubuntu.com/ubuntu disco-backports InRelease [88,8 kB]
Ign:14 http://br.archive.ubuntu.com/ubuntu disco-updates/main amd64 DEP-11 Metadata
Ign:15 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 48x48 Icons
Ign:16 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 64x64 Icons
Ign:17 http://br.archive.ubuntu.com/ubuntu disco-updates/universe amd64 DEP-11 Metadata
Ign:18 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 48x48 Icons
Ign:19 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 64x64 Icons
Obter:14 http://br.archive.ubuntu.com/ubuntu disco-updates/main amd64 DEP-11 Metadata [134 kB]
Err:14 http://br.archive.ubuntu.com/ubuntu disco-updates/main amd64 DEP-11 Metadata
File has unexpected size (134220 != 134144). Mirror sync in progress? [IP: 2801:82:80ff:8000::5 80]
Hashes of expected file:

  • Filesize:134144 [weak]
  • SHA256:269668e6a0b50703d11d29be44691d302975e26320dc5a4d367a2f8ded91b017
  • SHA1:68f60fe9efdba0014f22fa7f0be6b78131e79c38 [weak]
  • MD5Sum:26c149c1a7b8cabace357d1dc0140158 [weak]
    Release file created at: Tue, 15 Oct 2019 20:19:23 +0000
    Obter:15 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 48x48 Icons [19,4 kB]
    Err:15 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 48x48 Icons

Obter:20 http://security.ubuntu.com/ubuntu disco-security/universe amd64 DEP-11 Metadata [19,9 kB]
Obter:16 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 64x64 Icons [44,2 kB]
Err:16 http://br.archive.ubuntu.com/ubuntu disco-updates/main DEP-11 64x64 Icons

Obter:17 http://br.archive.ubuntu.com/ubuntu disco-updates/universe amd64 DEP-11 Metadata [64,3 kB]
Err:17 http://br.archive.ubuntu.com/ubuntu disco-updates/universe amd64 DEP-11 Metadata

Obter:18 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 48x48 Icons [32,6 kB]
Err:18 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 48x48 Icons

Obter:19 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 64x64 Icons [101 kB]
Err:19 http://br.archive.ubuntu.com/ubuntu disco-updates/universe DEP-11 64x64 Icons

Ign:21 http://br.archive.ubuntu.com/ubuntu disco-backports/universe amd64 DEP-11 Metadata
Obter:21 http://br.archive.ubuntu.com/ubuntu disco-backports/universe amd64 DEP-11 Metadata [7.920 B]
Err:21 http://br.archive.ubuntu.com/ubuntu disco-backports/universe amd64 DEP-11 Metadata
File has unexpected size (7924 != 7920). Mirror sync in progress? [IP: 200.236.31.4 80]
Hashes of expected file:

Quais passos podem ser tomados pra resolver o problema?

O mirror br.archive.ubuntu.com está com pacotes misturados ou incompletos. Possivelmente porque estava no processo de espelhamento.

A princípio tentar novamente em algumas horas já resolve. Mas outra opção seria você trocar o servidor de download dos pacotes. A lista completa de espelhos achei aqui Mirrors : Ubuntu

Daí você faz a troca na mão mesmo (edita o /etc/apt/sources.list) ou no seu gerenciador de pacotes.

2 curtidas

Ao tentar hoje mais cedo a atualização ocorreu sem problemas. Era o espelhamento mesmo!