Debian 10 Linux 컴퓨터를 업그레이드하는 데 문제가 있습니다. 모든 다운로드를 입력 sudo apt update && upgrade
하고 완료한 후 해결해야 하는 종속성 문제가 발생했지만 sudo apt --fix-broken install
여전히 다음 오류가 발생합니다.
E: Invalid archive signature
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
E: Prior errors apply to /var/cache/apt/archives/libpolkit-agent-1-0_0.105-30_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb: error: '/var/cache/apt/archives/libpolkit-agent-1-0_0.105-30_amd64.deb' is not a Debian format archive
dpkg: error processing archive /var/cache/apt/archives/libpolkit-agent-1-0_0.105-30_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libpolkit-agent-1-0_0.105-30_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)*****
답변1
첫 번째 실행:
sudo apt clean
sudo apt reinstall libpolkit-agent
그래도 작동하지 않으면 다음을 실행하십시오.
sudo mv /var/lib/dpkg/info/libpolkit-agent.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libpolkit-agent
sudo apt install libpolkit-agent