用机顶盒cm311-a安装的armbian,但是安装软件的时总是提示解压包错误,查了说了是没有zstd导致,但是安装这个软件也会遇到这个问题,头大了。
软件版本
root@armbian:~# cat /proc/version
Linux version 5.15.133-ophub (root@fv-az502-760) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #1 SMP PREEMPT Sat Sep 23 06:50:41 EDT 2023
报错代码:
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg-deb: error: archive '/var/cache/apt/archives/libc-dev-bin_2.35-0ubuntu3.4_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/libc-dev-bin_2.35-0ubuntu3.4_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: archive '/var/cache/apt/archives/libc6-dev_2.35-0ubuntu3.4_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.35-0ubuntu3.4_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: archive '/var/cache/apt/archives/rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb (--unpack):
安装zstd报错:
root@armbian:~# apt install -y zstd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
gcc-12-base libc-bin libc-dev-bin libc6 libc6-dev libstdc++6 locales rpcsvc-proto
Suggested packages:
manpages glibc-doc manpages-dev
Recommended packages:
manpages manpages-dev libc-devtools libnss-nis libnss-nisplus
The following NEW packages will be installed:
gcc-12-base rpcsvc-proto zstd
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev libstdc++6 locales
6 upgraded, 3 newly installed, 0 to remove and 440 not upgraded.
Need to get 0 B/10.4 MB of archives.
After this operation, 1,390 kB disk space will be freed.
Preconfiguring packages ...
dpkg-deb: error: archive '/var/cache/apt/archives/locales_2.35-0ubuntu3.4_all.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/locales_2.35-0ubuntu3.4_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: archive '/var/cache/apt/archives/libc6_2.35-0ubuntu3.4_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/libc6_2.35-0ubuntu3.4_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/locales_2.35-0ubuntu3.4_all.deb
/var/cache/apt/archives/libc6_2.35-0ubuntu3.4_arm64.deb