【在构建Termux引导包时遇到的问题】No package bzip2 found in any of the enabled repositories.
执行build-bootstraps.sh时遇到的错误:
在已经启用的仓库中的找不到bzip2
[*] Building 'bzip2'...
ERROR: No package bzip2 found in any of the enabled repositories. Are you trying to set up a custom repository?
[*] Building 'bzip2' exited with exit code 1
Failed to build package 'bzip2' for arch 'aarch64'
解决方法:
在build-bootstraps.sh中,大约427行,找到:
# Core utilities.
PACKAGES+=("bash") # Used by `termux-bootstrap-second-stage.sh`
PACKAGES+=("bzip2")
更正为:
# Core utilities.
PACKAGES+=("bash") # Used by `termux-bootstrap-second-stage.sh`
PACKAGES+=("libbz2")
在容器中再次执行:
./scripts/build-bootstraps.sh
问题已被解决。
扫描二维码,在手机上阅读
收藏