Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot fetch python-pandas and python-scipy from the tur-repo #1150

Open
Jonaben1 opened this issue Aug 24, 2024 · 4 comments
Open

[Bug]: Cannot fetch python-pandas and python-scipy from the tur-repo #1150

Jonaben1 opened this issue Aug 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Jonaben1
Copy link

Jonaben1 commented Aug 24, 2024

Problem description

I tried to install python-pandas and python-scipy on termux from the tur-repo using apt and pkg. It only successfully installed the python-numpy dependency but couldn't fetch the main packages I wanted. At first, I thought it's network issue, but the situation persists even on another device. Here's the output:

apt install python-scipy python-pandas --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  python-pandas python-scipy
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
Need to get 33.1 MB of archives.
After this operation, 162 MB of additional disk space will be used.
Ign:1 https://tur.kcubeterm.com tur-packages/tur-on-device arm python-pandas arm 2.0.1
Ign:2 https://tur.kcubeterm.com tur-packages/tur arm python-scipy arm 1:1.14.0
Ign:1 https://tur.kcubeterm.com tur-packages/tur-on-device arm python-pandas arm 2.0.1
Ign:2 https://tur.kcubeterm.com tur-packages/tur arm python-scipy arm 1:1.14.0
Ign:1 https://tur.kcubeterm.com tur-packages/tur-on-device arm python-pandas arm 2.0.1
Ign:2 https://tur.kcubeterm.com tur-packages/tur arm python-scipy arm 1:1.14.0
Err:1 https://tur.kcubeterm.com tur-packages/tur-on-device arm python-pandas arm 2.0.1
  Could not wait for server fd - select (11: Try again) [IP: 185.199.111.133 443]
Err:2 https://tur.kcubeterm.com tur-packages/tur arm python-scipy arm 1:1.14.0
  Could not wait for server fd - select (11: Try again) [IP: 185.199.111.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/509717777/8f51a599-5637-4108-97ae-6231a779a3e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240824%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240824T224604Z&X-Amz-Expires=300&X-Amz-Signature=ff3f628b1180aa77f65661300a893062527ec193d78d350eee4d363a14414296&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=509717777&response-content-disposition=attachment%3B%20filename%3Dpython-pandas_2.0.1_arm.deb&response-content-type=application%2Foctet-stream  Could not wait for server fd - select (11: Try again) [IP: 185.199.111.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/509717777/f54ef71d-44dc-45b3-8311-75dba88b6c4e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240824%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240824T224605Z&X-Amz-Expires=300&X-Amz-Signature=abd1057f7fa04856da5f317e95ad165103aee06542e036a705f1441692f80e78&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=509717777&response-content-disposition=attachment%3B%20filename%3Dpython-scipy_1.1.14.0_arm.deb&response-content-type=application%2Foctet-stream  Could not wait for server fd - select (11: Try again) [IP: 185.199.111.133 443]
E: Internal Error, ordering was unable to handle the media swap

What steps will reproduce the bug?

pkg install python-scipy python-pandas

What is the expected behavior?

Packaged should be successfully fetched and installed from the tur-repo

System information

termux-info:

Termux Variables:
TERMUX_APK_RELEASE=F_DROID                        TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=23586
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main/ stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
Updatable packages:
apt/stable 2.8.1-1 arm [upgradable from: 2.7.14]
bash/stable 5.2.32 arm [upgradable from: 5.2.26-1]
ca-certificates/stable 1:2024.07.02 all [upgradable from: 1:2024.03.11-2]
command-not-found/stable 2.4.0-38 arm [upgradable from: 2.4.0-29]
coreutils/stable 9.5-1 arm [upgradable from: 9.5]
curl/stable 8.9.1 arm [upgradable from: 8.8.0]
debianutils/stable 5.20 arm [upgradable from: 5.19]
dpkg/stable 1.22.6-1 arm [upgradable from: 1.22.6]gpgv/stable 2.4.5-2 arm [upgradable from: 2.4.5-1]
less/stable 661 arm [upgradable from: 633-1]      libandroid-support/stable 29 arm [upgradable from: 28-3]
libassuan/stable 2.5.7-1 arm [upgradable from: 2.5.7]
libc++/stable 27 arm [upgradable from: 26b]
libcurl/stable 8.9.1 arm [upgradable from: 8.8.0]
libgcrypt/stable 1.10.3-2 arm [upgradable from: 1.10.3]
libgpg-error/stable 1.50 arm [upgradable from: 1.49]
liblz4/stable 1.10.0 arm [upgradable from: 1.9.4]
libnghttp3/stable 1.5.0 arm [upgradable from: 1.3.0]
libtirpc/stable 1.3.5 arm [upgradable from: 1.3.4-1]
libunbound/stable 1.21.0 arm [upgradable from: 1.20.0]
nano/stable 8.1 arm [upgradable from: 8.0]
patch/stable 2.7.6-4 arm [upgradable from: 2.7.6-3]
readline/stable 8.2.13 arm [upgradable from: 8.2.10]
termux-keyring/stable 3.12-1 all [upgradable from: 3.12]
termux-tools/stable 1.43.3 all [upgradable from: 1.42.4]
termux-tools version:
1.42.4
Android version:
10
Kernel build information:
Linux localhost 4.14.133+ #1 SMP PREEMPT Wed Feb 22 17:36:49 CST 2023 armv7l Android
Device manufacturer:
itel
Device model:
itel P651W
LD Variables:
LD_LIBRARY_PATH=                                  LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
@Jonaben1 Jonaben1 added bug Something isn't working untriaged labels Aug 24, 2024
@licy183 licy183 removed the untriaged label Aug 26, 2024
@licy183
Copy link
Collaborator

licy183 commented Aug 26, 2024

It seems that you have a connection issue to GitHub Release. All debs in TUR are hosted on GitHub Release.

@Jonaben1
Copy link
Author

@licy183 Pls how can I address this issue given that it's happening on every package I tried to install from the tur-repo including gcc-14 and ndk-sysroot-gcc-compact

@Jonaben1
Copy link
Author

curl -I https://tur.kcubeterm.com

HTTP/2 500
date: Fri, 30 Aug 2024 01:42:09 GMT
content-type: text/html; charset=UTF-8
content-length: 4305
report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=vDiO9aEHOhZOXxa9Gc5VjH90H%2B0z1bPnc22p0lizpTzqHz2WEsUdidTjR%2FXBbjAq3KruP3vjFGMqplcQXpYUene47fDzKGnbi6nip3NhKhC9EiuvLoIc5mCGZmZnLH3Yug3i4w%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
x-frame-options: SAMEORIGIN
referrer-policy: same-origin
cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
expires: Thu, 01 Jan 1970 00:00:01 GMT
Temporary Solution)

The 500 Internal Server Error response indicates that there's a problem with the TUR repository server itself. This error is server-side, meaning it’s an issue with the repository's hosting or configuration, not with my network or configuration.

@licy183
Copy link
Collaborator

licy183 commented Aug 30, 2024

The 500 Internal Server Error doesn't indicate anything.
TUR doesn't have a server. It uses a cf-worker to rewrite the URL and makes it serving like an APT server.

https://tur.kcubeterm.com/dists/tur-packages/Release should be redirected to https://termux-user-repository.github.io/dists/tur-packages/Release.
https://tur.kcubeterm.com/pool/tur/python-scipy-2_1.11.4_arm.deb should be redirected to https://github.com/termux-user-repository/dists/releases/download/0.1/python-scipy-2_1.11.4_arm.deb.

It seems that there are some connection issues between your device and GitHub Release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants