Closed farhansadik closed 3 years ago
Termux 0.113
u0_a85@localhost ~ ls $PREFIX/etc/apt/
apt.conf.d preferences.d sources.list sources.list.d sources.list.dpkg-old trusted.gpg trusted.gpg.d
u0_a85@localhost ~ cat $PREFIX/etc/apt/sources.list
deb https://termux.mentality.rip/termux-main/ stable main
u0_a85@localhost ~ cat $PREFIX/etc/apt/sources.list.dpkg-old
# The main termux repository:
deb https://termux.org/packages/ stable main
@squaredevops
Also I need sources.list.d
those output
u0_a85@localhost ~ cat $PREFIX/etc/apt/sources.list.d/game.list
deb https://packages.termux.org/apt/termux-games games stable
u0_a85@localhost ~ cat $PREFIX/etc/apt/sources.list.d/science.list
deb https://packages.termux.org/apt/termux-science science stable
@squaredevops thanks for output. I've tested in my legacy version of termux and it worked. Now I'm creating a environment script for this.
Patch
Thanks @squaredevops
Task add sources mirror link to legacy termux. Source location should in
$PREFIX/etc/apt/sources.list.d
For @squaredevops