『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 518|回复: 0

[技术探讨] 求助:armbian 安装软件报错,不支持zstd

[复制链接]

2

主题

56

帖子

420

积分

中级会员

Rank: 3Rank: 3

积分
420
金钱
364
HASS币
0
发表于 2023-10-9 17:32:25 | 显示全部楼层 |阅读模式
用机顶盒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


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-10 11:11 , Processed in 1.000720 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表