libc:amd64가 절반만 설치되어 있어 다른 항목이 업그레이드되거나 설치되지 않습니다.

libc:amd64가 절반만 설치되어 있어 다른 항목이 업그레이드되거나 설치되지 않습니다.

업그레이드가 중단된 후 몇 가지 문제가 발생했습니다. 을 수행한 후 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

관련 정보