Repository: termux/termux-app

Issue #2874: [Bug]: Unable to use the package manager "pkg install"
Created: 2022-07-08T21:46:58Z
Problem description
I just installed Termux from F-droid as recommended since I had the older version but whenever I try to use the "pkg" package manager either to update packages or to try to get a package directly, I get the following error:
Testing the available mirrors:
[] https://packages-cf.termux.org/apt/termux-main: ok
[] https://deb.kcubeterm.me/termux-main: ok
[] 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://deb.kcubeterm.me/termux-main
Get:1 https://deb.kcubeterm.me/termux-main stable InRelease [507 B]
Err:1 https://deb.kcubeterm.me/termux-main stable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
E: Failed to fetch https://deb.kcubeterm.me/termux-main/dists/stable/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://deb.kcubeterm.me/termux-main stable InRelease' is not signed.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible causes: unstable or tampered Internet connection, wrong sources.list, outdated keyring or host is down currently.
N: Please note that all hosting problems or other serious issues we announce on our social media pages.
N: Use termux-change-repo for switching to a mirror.
Here are my device specs upon running "termux-info":
_Application version:
0.118.0
Packages CPU architecture:
arm
Subscribed repositories:
sources.list
deb https://deb.kcubeterm.me/termux-main/ stable main
Updatable packages:
All packages up to date
Android version:
8.1.0
Kernel build information:
Linux localhost 3.18.14-14676478 #1 SMP PREEMPT Mon May 10 21:24:57 KST 2021 armv8l Android
Device manufacturer:
samsung
Device model:
SM-T378V_
Why am I unable to use the package manager?  Thanks for any help anyone can provide.
LM
Steps to reproduce the behavior.
Commands that trigger the error are: pkg upgrade and pkg install vim
What is the expected behavior?
No response
System information
Application version:
0.118.0
Packages CPU architecture:
arm
Subscribed repositories:
sources.list
deb https://deb.kcubeterm.me/termux-main/ stable main
Updatable packages:
All packages up to date
Android version:
8.1.0
Kernel build information:
Linux localhost 3.18.14-14676478 #1 SMP PREEMPT Mon May 10 21:24:57 KST 2021 armv8l Android
Device manufacturer:
samsung
Device model:
SM-T378V

Duplicate issue #2909: [Bug]: `apt update` or `pkg update` doesn't work
Created: 2022-07-28T00:33:35Z
Problem description
apt update or pkg update doesn't work
Steps to reproduce the behavior.
Run apt update or pkg update
Get error:
Get:1 https://deb.kcubeterm.me/termux-main stable InRelease [507 B]
Err:1 https://deb.kcubeterm.me/termux-main stable InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
E: Failed to fetch https://deb.kcubeterm.me/termux-main/dists/stable/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://deb.kcubeterm.me/termux-main stable InRelease' is not signed.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible causes: unstable or tampered Internet connection, wrong sources.list, outdated keyring or host is down currently.
N: Please note that all hosting problems or other serious issues we announce on our social media pages.
N: Use termux-change-repo for switching to a mirror.

What is the expected behavior?
No response
System information

Termux application version: termux-app_v0.118.0+github-debug_universal.apk
Android OS version: 9
Device model: ZTE Blade A3 2020

Closing comment (2022-07-28T00:35:28Z): Duplicate of #2874