Raspbian을 실행 중이며 설치하고 싶습니다.스플릭스, 이를 위해서는 libcupsimage2-dev가 필요했기 때문에 apt-get을 사용하여 설치했는데 "libcupsimage2-dev"에 의존한다는 오류가 발생하여 설치되지 않았습니다. "sudo apt --fix-broken install"을 실행하면 다음이 생성됩니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libcupsimage2-dev
The following NEW packages will be installed:
libcupsimage2-dev
0 upgraded, 1 newly installed, 0 to remove and 212 not upgraded.
1 not fully installed or removed.
Need to get 0 B/18.3 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Invalid archive member header cgnTrol.tar,xz 1566333;93$ (
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
E: Prior errors apply to /var/cache/apt/archives/libcupsimage2-dev_2.2.10-6+deb10u1_armhf.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb: error: file '/var/cache/apt/archives/libcupsimage2-dev_2.2.10-6+deb10u1_armhf.deb' is corrupt - bad archive header magic
dpkg: error processing archive /var/cache/apt/archives/libcupsimage2-dev_2.2.10-6+deb10u1_armhf.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libcupsimage2-dev_2.2.10-6+deb10u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
답변1
아카이브가 손상되었습니다. 삭제하고 다시 시도해야 합니다.
sudo rm /var/cache/apt/archives/libcupsimage2-dev_2.2.10-6+deb10u1_armhf.deb