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.
termux
1
2
У меня не работают команды apt и выдают ошибку:
$ apt-get upgrade
Reading package lists… Error!
E: Couldn’t create temporary file to work with /data/data/com.termux/files/usr/var/lib/apt/lists/termux.org_packages_dists_stable_Release — mkstemp (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
В Термуксе
- Ссылка
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Termux — это эмулятор терминала Linux, который позволяет пользователям выполнять команды и устанавливать пакеты на своих устройствах Android. Но что делать, если возникают проблемы с обновлением и установкой пакетов?
Проблема №1: Ошибка обновления
Если при попытке обновления пакетов Termux вы получили ошибку «E: could not get lock /var/lib/dpkg/lock», это означает, что пакеты уже обрабатываются другим процессом. Чтобы решить эту проблему, введите следующую команду:
$ apt update && apt upgrade
Эта команда обновит список пакетов и выполнит обновление Termux.
Проблема №2: Ошибка установки пакета
Если при попытке установки пакета вы получаете ошибку, проверьте, подключена ли ваша учетная запись к репозиторию Termux. Вы можете проверить это, запустив следующую команду:
$ apt update && pkg upgrade
Если вы еще не подключены к репозиторию Termux, вы получите сообщение об ошибке. Тогда введите следующую команду, чтобы добавить репозиторий:
$ pkg install curl
$ curl -LO https://its-pointless.github.io/setup-pointless-repo.sh
$ bash setup-pointless-repo.sh
Затем выполните обновление:
$ apt update && pkg upgrade
Если это не помогает, проверьте свободное место на вашем устройстве. Если место заканчивается, вы можете получить ошибку установки пакета. Чтобы решить эту проблему, удалите ненужные файлы или перенесите их на другой носитель, чтобы освободить место.
Проблема №3: Ошибка зависимостей
Если при установке пакета вы получаете ошибку зависимости, то это может означать, что требуемые файлы отсутствуют в репозитории Termux. Чтобы решить эту проблему, введите следующую команду:
$ apt update && pkg upgrade
Если это не помогает, попробуйте установить пакет, от которого зависит ваш первоначальный пакет. Затем повторите попытку установки первоначального пакета.
Заключение
Эти проблемы с обновлением и установкой пакетов в Termux являются общими, но легко решаемыми. Если обновление или установка пакетов у вас не работает, используйте вышеуказанные решения, чтобы быстро вернуть свою систему в рабочее состояние.
Today you will learn the cause of the Termux package management issue, how to solve it, and other ways to solve it.
If you have installed the Termux app from the Playstore, you might face the below error while upgrading or installing the package on an Android device.
[*] Running apt update
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Hit:1 https://packages.termux.dev/apt/termux-main stable InRelease Ign:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Err:4 https://dl.bintray.com/grimler/game-packages-24 games Release 502 Bad Gateway
Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release
502 Bad Gateway Reading package lists... Done
E: The repository 'https://dl.bintray.com/grimler/game-packages-24 games Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository 'https://dl.bintray.com/grimler/science-packages-24 science Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
What is the Cause of Package Command Errors in Termux?
The cause of this error is Termux build you’ve installed from the Playstore is no longer supported. Termux officially provides its latest version on Github and F-droid.
However, it is listed on the Playstore with an older version (v0.101
), which is not recommended.
Termux (v0.118.0
) moved the primary Termux package repository hosting from Bintray to Fosshost because the Bintray repository shut down on May 1st, 2021, which caused problems for users when running package installation and running the update command with pkg
or apt
commands.
Below is the error you may find while upgrading or installing packages.
E: The repository 'https://termux.org/packages stable Release' does no longer have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository 'https://dl.bintray.com/grimler/game-packages-24 games Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository 'https://science.termux-mirror.ml science Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
How to Solve Package Command Errors in Termux
There are two different ways to solve this error, such as:
The first is by changing the mirror from the main repository to a different Termux mirror, and the second is by removing the unused repository.
Solution 1: Changing the Main Repository to a Different Termux Mirror
Execute the below command in your Termux app to change the main repository to a separate mirror.
Note: If you have installed
other package repositories
, likex11
androot
, then you must select and change those mirrors as well.
$ termux-change-repo
By default, the Main repository will be selected. Don’t change anything, just click on the OK button.
Here, the official repositories will be selected, but you can change it to Mirrors by BFSU or something else. And then click on the OK button.
Now it will automatically start the upgrade process.
Otherwise, run the pkg upgrade
command to update all packages to the latest available versions. If you face the same error, then follow Solution 2.
Solution 2: Removing the Unused Repository in Termux
If you are using the older version of Termux, it might still use the science
and game
repositories that have been merged into the main
repository.
If you have them installed, execute the following command to remove them.
$ apt remove science-repo game-repo
Below is the output of the above command.
Once you have removed the science-repo and game-repo, you need to run the pkg upgrade
command to update the repository.
If you are still getting the error, then you need to change the source repository from “Official repositories” to “Mirrors by BFSU”.
To change the repository, check Solution 1 of this article.
Wrap up
That’s all for this article, where you learned how to solve the termux package management issue while upgrading repositories.
I hope one of these solutions will resolve your Termux package management issue. However, if the error still persists, feel free to contact us in the comment section.
Innovative tech mind with 12 years of experience working as a computer programmer, web developer, and security researcher. Capable of working with a variety of technology and software solutions, and managing databases.
Go to termux
r/termux
r/termux
Official Reddit community of Termux project. Share your Termux configuration, custom utilities and usage experience or help others troubleshoot issues.
Members
Online
•
by
NoVeterinarian7750
Problem in $ apt update 404 forbidden , need solution !
Need solution !
Archived post. New comments cannot be posted and votes cannot be cast.