termux / termux-packages

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

[Bug]: Unable to install rust #20875

Closed sudoAlphaX closed 2 months ago

sudoAlphaX commented 2 months ago

Problem description

Unable to install rust from termux package repos. Error: The following packages have unmet dependencies: rust : Depends: libllvm (< 18) but 18.1.8 is to be installed E: Unable to correct problems, you have held broken packages.

Mirror: https://termux.astra.in.ua/apt/termux-main

What steps will reproduce the bug?

pkg install rust

What is the expected behavior?

Rust gets installed

System information

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__APK_FILE=/data/app/~~PptRQUlArUqSxI7huwJYGA==/com.termux-N0ygr5pHciYG-2f9OHEWcg==/base.apk
TERMUX_APP__APK_RELEASE=F_DROID
TERMUX_APP__APP_VERSION_CODE=1020
TERMUX_APP__APP_VERSION_NAME=0.119.0-beta.1
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__IS_DEBUGGABLE_BUILD=false
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PID=10907
TERMUX_APP__TARGET_SDK=28
TERMUX_VERSION=0.119.0-beta.1
TERMUX__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c174,c256,c512,c768
TERMUX__SE_INFO=default:targetSdkVersion=28:complete
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c174,c256,c512,c768
TERMUX__UID=10174
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.astra.in.ua/apt/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://termux.astra.in.ua/apt/termux-root root stable
Updatable packages:
All packages up to date
termux-tools version:
1.42.4
Android version:
11
Kernel build information:
Linux localhost 4.9.310~zLOS-7623221a #1 SMP PREEMPT Wed Jun 26 22:21:34 CEST 2024 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 4
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.api versionCode:51
com.termux.styling versionCode:1000
truboxl commented 2 months ago

https://termux.astra.in.ua/apt/termux-main/pool/main/r/rust/ houses old rust 1.73.0 packages.

Please termux-change-repo to switch to another repo.

sudoAlphaX commented 2 months ago

I've changed the the mirror and was able to install rust (and had a few other upgrades too)

Thank you

Regards