Closed gensx-x1 closed 1 month ago
Output of 'pkg upgrade' after I run first 'pkg upgrade'
~ $ pkg upgrade -y No mirror or mirror group selected. You might want to select one by running 'termux-change-repo' Checking availability of current mirror: [*] https://packages-cf.termux.dev/apt/termux-main/: bad Testing the available mirrors: [*] (10) https://packages-cf.termux.dev/apt/termux-main: bad [*] (1) https://mirror.textcord.xyz/termux/termux-main: bad [*] (1) https://mirror.nevacloud.com/applications/termux/termux-main: bad [*] (1) https://mirrors.nguyenhoang.cloud/termux/termux-main: bad [*] (1) https://mirror.twds.com.tw/termux/termux-main: bad [*] (1) https://linux.domainesia.com/applications/termux/termux-main: bad [*] (1) https://tmx.xvx.my.id/apt/termux-main: bad [*] (1) https://mirror.freedif.org/termux/termux-main: bad [*] (1) https://mirrors.cbrx.io/apt/termux/termux-main: bad [*] (1) https://mirrors.in.sahilister.net/termux/termux-main/: bad [*] (1) https://mirror.albony.in/termux/termux-main: bad [*] (1) https://mirror.bardia.tech/termux/termux-main: bad [*] (1) https://mirrors.ravidwivedi.in/termux/termux-main: bad [*] (1) https://mirrors.saswata.cc/termux/termux-main: bad [*] (1) https://termux.niranjan.co/termux-main: bad [*] (1) https://mirrors.sdu.edu.cn/termux/termux-main: bad [*] (1) https://mirrors.sau.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.nju.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.sustech.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.pku.edu.cn/termux/termux-main/: bad [*] (1) https://mirror.sjtu.edu.cn/termux/termux-main/: bad [*] (1) https://mirror.iscas.ac.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.ustc.edu.cn/termux/termux-main: bad [*] (1) https://mirrors.aliyun.com/termux/termux-main: bad [*] (1) https://mirrors.qvq.net.cn/termux/termux-main: bad [*] (1) https://mirrors.cqupt.edu.cn/termux/termux-main: bad [*] (1) https://mirrors.zju.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.hust.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.bfsu.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirror.nyist.edu.cn/termux/apt/termux-main: bad [*] (1) https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main: bad [*] (1) https://ftp.agdsn.de/termux/termux-main: bad [*] (4) https://grimler.se/termux/termux-main: bad [*] (1) https://ro.mirror.flokinet.net/termux/termux-main: bad [*] (1) https://mirrors.cfe.re/termux/termux-main: bad [*] (1) https://mirror.termux.dev/termux-main: bad [*] (1) https://termux.3san.dev/termux/termux-main: bad [*] (1) https://mirror.bouwhuis.network/termux/termux-main: bad [*] (1) https://mirror.accum.se/mirror/termux.dev/termux-main: bad [*] (1) https://termux.mentality.rip/termux-main: bad [*] (1) https://is.mirror.flokinet.net/termux/termux-main: bad [*] (1) https://md.mirrors.hacktegic.com/termux/termux-main: bad [*] (1) https://mirror.mwt.me/termux/main: bad [*] (1) https://mirrors.medzik.dev/termux/termux-main: bad [*] (1) https://packages.termux.dev/apt/termux-main: bad [*] (1) https://mirror.sunred.org/termux/termux-main: bad [*] (1) https://mirrors.de.sahilister.net/termux/termux-main: bad [*] (1) https://mirror.leitecastro.com/termux/termux-main: bad [*] (1) https://termux.cdn.lumito.net/termux-main: bad [*] (1) https://nl.mirror.flokinet.net/termux/termux-main: bad [*] (1) https://ftp.fau.de/termux/termux-main: bad [*] (1) https://termux.librehat.com/apt/termux-main: bad [*] (1) https://mirror.autkin.net/termux/termux-main: bad [*] (1) https://mirror.polido.pt/termux/termux-main: bad [*] (1) https://dl.kcubeterm.com/termux-main: bad [*] (1) https://termux.danyael.xyz/termux/termux-main: bad [*] (1) https://mirror.mwt.me/termux/main: bad [*] (1) https://mirrors.utermux.dev/termux/termux-main: bad [*] (1) https://mirror.vern.cc/termux/termux-main: bad [*] (1) https://plug-mirror.rcac.purdue.edu/termux/termux-main: bad [*] (1) https://mirror.quantum5.ca/termux/termux-main: bad [*] (1) https://mirror.fcix.net/termux/termux-main: bad [*] (1) https://mirror.csclub.uwaterloo.ca/termux/termux-main: bad [*] (1) https://gnlug.org/pub/termux/termux-main: bad [*] (1) https://mirrors.middlendian.com/termux/termux-main: bad [*] (1) https://repository.su/termux/termux-main/: bad [*] (1) http://mirror.mephi.ru/termux/termux-main: bad Error: None of the mirrors are accessible
Maybe the DNS server in $PREFIX/etc/resolv.conf
(default is 8.8.8.8
or 8.8.4.4
) is blocked by your ISP. See https://github.com/termux/termux-packages/issues/21727#issuecomment-2402527867.
I'll consider revert the c-ares support of libcurl if there are more reports.
There are more reports on discord. I think I've seen 3 or 4, that probably means much more people because there are only 8k members there.
$PREFIX/etc/resolv.conf looks exactly the same on clean install and after pkg upgrade so I don't think that might be an issue, I went through all recent issues I found related to this.
You should change the DNS server in $PREFIX/etc/resolv.conf
to some other well-known DNS servers in your country.
You should change the DNS server in
$PREFIX/etc/resolv.conf
to some other well-known DNS servers in your country.
Tried it just now, didn't work
I still think there is something wrong with libcurl. Could you please check whether it is fixed after installing the libcurl without c-ares support in this workflow? https://github.com/termux/termux-packages/actions/runs/11534051643?pr=21988
I still think there is something wrong with libcurl. Could you please check whether it is fixed after installing the libcurl without c-ares support in this workflow? https://github.com/termux/termux-packages/actions/runs/11534051643?pr=21988
Can you link me to somewhere with tutorial on how to do it ? It's above my knowledge
Download the aarch64 artifact from the action run, unpack zip, unpack tar, install package with apt install ./<package.deb>
and try to pkg up
again.
alright , i thought that would be more complicated. so i tried it on fresh install, installed debs from commit, it didn't work at first, when i tried curl -V
output was CANNOT LINK EXECUTABLE "curl": cannot locate symbol "SSL_set_value_uint" referenced by "/data/data/com.termux/files/usr/lib/libcurl.so"...
so i run apt install openssl-tool
and tried curl -V
again , output was CANNOT LINK EXECUTABLE "curl": cannot locate symbol "libssh2_session_callback_set2" referenced by "/data/data/com.termux/files/usr/lib/libcurl.so"...
so i just run apt upgrade -y
and now it works. no idea how and what but i guess that should help you fix it a bit. let me know if you need more data from me
Problem description
Using pkg upgrade on completely fresh install is making it unable to connect to any mirror. I'm on galaxy s24 ultra, tried to download from fdroid and from website, same result. Tried 'termux-change-repo', didn't work, tried 'apt update && apt full-upgrade' also didn't work
What steps will reproduce the bug?
Run 'pkg upgrade' on new termux install
What is the expected behavior?
Pkg upgrade shouldn't break it
System information