libcupsimage2-devのため、libcups2-devはインストールされません。

libcupsimage2-devのため、libcups2-devはインストールされません。

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

おすすめ記事