У меня возникли некоторые проблемы после прерванного обновления. После выполнения sudo apt update
, я запустил sudo apt upgrade
и получил:
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 is not ready for configuration
cannot configure (current status 'half-installed')
Итак, я побежал.
sudo apt-get --fix-broken install
и вывод был таким:
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 is not ready for configuration
cannot configure (current status 'half-installed')
Если я попытаюсь бежать, sudo apt install --reinstall libc6
то получу:
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 is not ready for configuration
cannot configure (current status 'half-installed')`
Попытка sudo apt install --reinstall libc-bin
приносит мне:
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).
Итак, у меня «новейшая версия», но нужна версия поновее?
решение1
У меня была похожая проблема, и я решил ее с помощью:
sudo dpkg -i /var/cache/apt/archives/libc6_2.32-0ubuntu3_amd64.deb
sudo apt --fix-broken install