termux / termux-packages

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

[Bug]: it is an error installing python in termux #21879

Open AveryGameing3445 opened 1 year ago

AveryGameing3445 commented 1 year ago

Problem description

pkg install python Testing the available mirrors: [] https://packages-cf.termux.org/apt/termux-main: ok [] https://deb.kcubeterm.me/termux-main: bad [] https://termux.mentality.rip/termux-main: ok [] https://grimler.se/termux-packages-24: ok [*] https://termux.librehat.com/apt/termux-main: ok Picking mirror: https://packages-cf.termux.org/apt/termux-main Hit:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease Reading package lists... Done Building dependency tree... Done 61 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done The following additional packages will be installed: clang gdbm glib libandroid-posix-semaphore libcompiler-rt libffi libllvm libsqlite libxml2 lld llvm make ncurses ncurses-ui-libs ndk-sysroot pkg-config python-ensurepip-wheels python-pip resolv-conf zstd Suggested packages: python-tkinter The following NEW packages will be installed: clang gdbm glib libandroid-posix-semaphore libcompiler-rt libffi libllvm libsqlite libxml2 lld llvm make ncurses-ui-libs ndk-sysroot pkg-config python python-ensurepip-wheels python-pip resolv-conf zstd The following packages will be upgraded: ncurses 1 upgraded, 20 newly installed, 0 to remove and 60 not upgraded. Need to get 95.5 MB of archives. After this operation, 609 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Err:1 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ncurses aarch64 6.4-1 Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:2 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libffi aarch64 3.4.4 Could not open file /data/data/com.termux/cache/apt/archives/partial/libffi_3.4.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Ign:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libxml2 aarch64 2.10.3-1 Err:4 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 zstd aarch64 1.5.4 Could not open file /data/data/com.termux/cache/apt/archives/partial/zstd_1.5.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:5 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libllvm aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/libllvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:6 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libcompiler-rt aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/libcompiler-rt_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:7 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 lld aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/lld_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:8 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 llvm aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/llvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:9 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ndk-sysroot aarch64 25c Could not open file /data/data/com.termux/cache/apt/archives/partial/ndk-sysroot_25c_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:10 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 clang aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/clang_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libxml2 aarch64 2.10.3-1 Could not handshake: Error in the pull function. [IP: 172.64.80.1 443] Err:11 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 gdbm aarch64 1.23 Could not open file /data/data/com.termux/cache/apt/archives/partial/gdbm_1.23_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:12 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 resolv-conf aarch64 1.3 Could not open file /data/data/com.termux/cache/apt/archives/partial/resolv-conf_1.3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:13 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 glib aarch64 2.76.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/glib_2.76.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:14 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libandroid-posix-semaphore aarch64 0.1-3 Could not open file /data/data/com.termux/cache/apt/archives/partial/libandroid-posix-semaphore_0.1-3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:15 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libsqlite aarch64 3.41.2 Could not open file /data/data/com.termux/cache/apt/archives/partial/libsqlite_3.41.2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:16 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 make aarch64 4.4.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/make_4.4.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:17 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ncurses-ui-libs aarch64 6.4-1 Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses-ui-libs_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:18 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 pkg-config aarch64 0.29.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/pkg-config_0.29.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:19 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python aarch64 3.11.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/python_3.11.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:20 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python-ensurepip-wheels all 3.11.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/python-ensurepip-wheels_3.11.2-2_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:21 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python-pip all 23.0.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/python-pip_23.0.1_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ncurses/ncurses_6.4-1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libf/libffi/libffi_3.4.4_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libffi_3.4.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libx/libxml2/libxml2_2.10.3-1_aarch64.deb Could not handshake: Error in the pull function. [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/z/zstd/zstd_1.5.4_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/zstd_1.5.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libl/libllvm/libllvm_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libllvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libc/libcompiler-rt/libcompiler-rt_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libcompiler-rt_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/l/lld/lld_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/lld_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/l/llvm/llvm_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/llvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ndk-sysroot/ndk-sysroot_25c_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ndk-sysroot_25c_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/c/clang/clang_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/clang_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/g/gdbm/gdbm_1.23_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/gdbm_1.23_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/r/resolv-conf/resolv-conf_1.3_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/resolv-conf_1.3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/g/glib/glib_2.76.1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/glib_2.76.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/liba/libandroid-posix-semaphore/libandroid-posix-semaphore_0.1-3_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libandroid-posix-semaphore_0.1-3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libs/libsqlite/libsqlite_3.41.2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libsqlite_3.41.2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/m/make/make_4.4.1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/make_4.4.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ncurses-ui-libs/ncurses-ui-libs_6.4-1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses-ui-libs_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/pkg-config/pkg-config_0.29.2-2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/pkg-config_0.29.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python/python_3.11.2-2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python_3.11.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python-ensurepip-wheels/python-ensurepip-wheels_3.11.2-2_all.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python-ensurepip-wheels_3.11.2-2_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python-pip/python-pip_23.0.1_all.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python-pip_23.0.1_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Steps to reproduce the behavior.

pkg install python

What is the expected behavior?

pkg install python Testing the available mirrors: [] https://packages-cf.termux.org/apt/termux-main: ok [] https://deb.kcubeterm.me/termux-main: bad [] https://termux.mentality.rip/termux-main: ok [] https://grimler.se/termux-packages-24: ok [*] https://termux.librehat.com/apt/termux-main: ok Picking mirror: https://packages-cf.termux.org/apt/termux-main Hit:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease Reading package lists... Done Building dependency tree... Done 61 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done The following additional packages will be installed: clang gdbm glib libandroid-posix-semaphore libcompiler-rt libffi libllvm libsqlite libxml2 lld llvm make ncurses ncurses-ui-libs ndk-sysroot pkg-config python-ensurepip-wheels python-pip resolv-conf zstd Suggested packages: python-tkinter The following NEW packages will be installed: clang gdbm glib libandroid-posix-semaphore libcompiler-rt libffi libllvm libsqlite libxml2 lld llvm make ncurses-ui-libs ndk-sysroot pkg-config python python-ensurepip-wheels python-pip resolv-conf zstd The following packages will be upgraded: ncurses 1 upgraded, 20 newly installed, 0 to remove and 60 not upgraded. Need to get 95.5 MB of archives. After this operation, 609 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Err:1 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ncurses aarch64 6.4-1 Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:2 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libffi aarch64 3.4.4 Could not open file /data/data/com.termux/cache/apt/archives/partial/libffi_3.4.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Ign:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libxml2 aarch64 2.10.3-1 Err:4 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 zstd aarch64 1.5.4 Could not open file /data/data/com.termux/cache/apt/archives/partial/zstd_1.5.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:5 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libllvm aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/libllvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:6 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libcompiler-rt aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/libcompiler-rt_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:7 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 lld aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/lld_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:8 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 llvm aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/llvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:9 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ndk-sysroot aarch64 25c Could not open file /data/data/com.termux/cache/apt/archives/partial/ndk-sysroot_25c_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:10 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 clang aarch64 16.0.0 Could not open file /data/data/com.termux/cache/apt/archives/partial/clang_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libxml2 aarch64 2.10.3-1 Could not handshake: Error in the pull function. [IP: 172.64.80.1 443] Err:11 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 gdbm aarch64 1.23 Could not open file /data/data/com.termux/cache/apt/archives/partial/gdbm_1.23_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:12 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 resolv-conf aarch64 1.3 Could not open file /data/data/com.termux/cache/apt/archives/partial/resolv-conf_1.3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:13 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 glib aarch64 2.76.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/glib_2.76.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:14 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libandroid-posix-semaphore aarch64 0.1-3 Could not open file /data/data/com.termux/cache/apt/archives/partial/libandroid-posix-semaphore_0.1-3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:15 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libsqlite aarch64 3.41.2 Could not open file /data/data/com.termux/cache/apt/archives/partial/libsqlite_3.41.2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:16 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 make aarch64 4.4.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/make_4.4.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:17 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ncurses-ui-libs aarch64 6.4-1 Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses-ui-libs_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:18 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 pkg-config aarch64 0.29.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/pkg-config_0.29.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:19 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python aarch64 3.11.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/python_3.11.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:20 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python-ensurepip-wheels all 3.11.2-2 Could not open file /data/data/com.termux/cache/apt/archives/partial/python-ensurepip-wheels_3.11.2-2_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] Err:21 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 python-pip all 23.0.1 Could not open file /data/data/com.termux/cache/apt/archives/partial/python-pip_23.0.1_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ncurses/ncurses_6.4-1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libf/libffi/libffi_3.4.4_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libffi_3.4.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libx/libxml2/libxml2_2.10.3-1_aarch64.deb Could not handshake: Error in the pull function. [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/z/zstd/zstd_1.5.4_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/zstd_1.5.4_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libl/libllvm/libllvm_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libllvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libc/libcompiler-rt/libcompiler-rt_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libcompiler-rt_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/l/lld/lld_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/lld_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/l/llvm/llvm_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/llvm_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ndk-sysroot/ndk-sysroot_25c_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ndk-sysroot_25c_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/c/clang/clang_16.0.0_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/clang_16.0.0_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/g/gdbm/gdbm_1.23_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/gdbm_1.23_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/r/resolv-conf/resolv-conf_1.3_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/resolv-conf_1.3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/g/glib/glib_2.76.1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/glib_2.76.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/liba/libandroid-posix-semaphore/libandroid-posix-semaphore_0.1-3_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libandroid-posix-semaphore_0.1-3_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/libs/libsqlite/libsqlite_3.41.2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/libsqlite_3.41.2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/m/make/make_4.4.1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/make_4.4.1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/n/ncurses-ui-libs/ncurses-ui-libs_6.4-1_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/ncurses-ui-libs_6.4-1_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/pkg-config/pkg-config_0.29.2-2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/pkg-config_0.29.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python/python_3.11.2-2_aarch64.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python_3.11.2-2_aarch64.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python-ensurepip-wheels/python-ensurepip-wheels_3.11.2-2_all.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python-ensurepip-wheels_3.11.2-2_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Failed to fetch https://packages-cf.termux.dev/apt/termux-main/pool/main/p/python-pip/python-pip_23.0.1_all.deb Could not open file /data/data/com.termux/cache/apt/archives/partial/python-pip_23.0.1_all.deb - open (2: No such file or directory) [IP: 172.64.80.1 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

System information

agnostic-apollo commented 1 year ago

How much free space do you have in your internal storage?

nacho00112 commented 1 year ago

Try again, it sometimes happens to me, retrying installs it without problems

nacho00112 commented 1 year ago

Might be this happens because some script runs apt clean

sylirre commented 1 year ago

@nacho00112 This isn't possible. Apt has a protection mechanism against that.

Screenshot_20230705-213544

What really could be is sudden cache cleaning by Android OS. We configured apt to store downloaded temporary files in application cache directory. Related commit: https://github.com/termux/termux-packages/commit/b6dfeec127e87cf1942087d7692449f693e00766

If user device is low on disk space, Android will perform force cache trimming which would result in missing downloaded deb files. Low disk space term may vary between device models. Certain vendors may also implement time-based cache cleaning (e.g. through various system "optimizer" apps). In this case deb files will be removed regardless of how much free disk space available.

nacho00112 commented 1 year ago

@nacho00112 This isn't possible. Apt has a protection mechanism against that.

Screenshot_20230705-213544

What really could be is sudden cache cleaning by Android OS. We configured apt to store downloaded temporary files in application cache directory. Related commit: termux/termux-packages@b6dfeec

If user device is low on disk space, Android will perform force cache trimming which would result in missing downloaded deb files. Low disk space term may vary between device models. Certain vendors may also implement time-based cache cleaning (e.g. through various system "optimizer" apps). In this case deb files will be removed regardless of how much free disk space available.

I didn't know nothing of that, thanks for the explanation. Then looks like the issue can't get solved without modifying the behavior of apt, Or termux might add some android setting which i'm not aware of

Vojtak42 commented 1 year ago

I can do apt clean but i get same error but i am trying to build python from source