本文章解决的问题
- 升级遇到Unrecognized archive format
- xorgproto破坏依赖、icu破坏依赖问题
问题说明
archlinux在不久前将将软件包的压缩格式从xz改为了zstd。以下是朋友找到的通知的一部分:
Arch Linux added support for zstd as a package compression method in October 2019 with the release of the pacman 5.2 package manager,[24] and in January 2020 switched from xz to zstd for the packages in the official repository.
这就导致了一些老版本用户下到的软件包不能被识别。
解决方法
我们只需要下载一个pacman-static 用它来更新一下我们的libarchive即可正常升级。
步骤
在pacman.conf里添加