termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.41k stars 3.09k forks source link

[Bug]: proot-distro is missing `file` package dependency #21613

Closed TheKingFireS closed 2 months ago

TheKingFireS commented 2 months ago

Problem description

When you install proot-distro, you may notice it doesn't install file, therefore it can't run without file dependency. file is not added in proot-distro/build.sh

What steps will reproduce the bug?

1) Install proot-distro package only 2) Run proot-distro 3) It will throw out error about file isn't installed.

What is the expected behavior?

file dependency should be installed by proot-distro's needed dependencies

System information

Termux Variables:
TERMUX_API_VERSION=0.50.1                                                        TERMUX_APK_RELEASE=GITHUB                                                        TERMUX_APP_PACKAGE_MANAGER=apt                                                   TERMUX_APP_PID=12968                                                             TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0                                                                Packages CPU architecture:                                                       aarch64                                                                          Subscribed repositories:                                                         # sources.list
deb https://packages.termux.dev/apt/termux-main stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.dev/apt/termux-x11 x11 main                          Updatable packages:
All packages up to date
termux-tools version:
1.43.5
Android version:
12
Kernel build information:
Linux localhost 4.14.343 #1 SMP PREEMPT Sun May 5 23:03:25 +08 2024 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 9S
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.gui versionCode:7
com.termux.x11 versionCode:15
com.termux.styling versionCode:1000
com.termux.window versionCode:15
sylirre commented 2 months ago

Fixed build should be available soon.

Until that you can run pkg install file to fix dependency.