libc:amd64 está parcialmente instalado e impede que outras coisas sejam atualizadas ou instaladas

libc:amd64 está parcialmente instalado e impede que outras coisas sejam atualizadas ou instaladas

Estou tendo alguns problemas após uma atualização interrompida. Depois de fazer sudo apt update, corri sudo apt upgradee consegui:

dpkg: error processing package libc6:amd64 (--configure):
 package libc6:amd64 is not ready for configuration
 cannot configure (current status 'half-installed')

Então, eu corri

sudo apt-get --fix-broken install

e a saída foi:

dpkg: error processing package libc6:amd64 (--configure):
 package libc6:amd64 is not ready for configuration
 cannot configure (current status 'half-installed')

Se eu tentar executar sudo apt install --reinstall libc6, recebo:

dpkg: error processing package libc6:amd64 (--configure):
 package libc6:amd64 is not ready for configuration
 cannot configure (current status 'half-installed')`

Tentar sudo apt install --reinstall libc-binme pega:

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 locales : Depends: libc-bin (> 2.33)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Então eu tenho a "versão mais recente", mas ela precisa de uma versão mais recente que essa?

Responder1

Eu estava tendo um problema semelhante e superei isso com:

sudo dpkg -i /var/cache/apt/archives/libc6_2.32-0ubuntu3_amd64.deb
sudo apt --fix-broken install

informação relacionada