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

[README] Bintray repository hosting shut down | Error 403 Forbidden | Error 404 #6726

Open
ghost opened this issue May 3, 2021 · 78 comments
Labels
information Informational post.

Comments

@ghost
Copy link

ghost commented May 3, 2021

All Termux repositories previously hosted on JFrog Bintray are down since 1st May, 2021. This means that all repositories hosted on dl.bintray.com domain are not available anymore. There nothing can be done on our side because Bintray service announced its sunset.

Ign:2 https://dl.bintray.com/grimler/game-packages-24 games 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
  403  Forbidden
Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release
  403  Forbidden
Get:1 https://grimler.se/termux-packages-24 stable InRelease [13.1 kB]
Get:6 https://grimler.se/termux-packages-24 stable/main all Packages [21.6 kB]
Get:7 https://grimler.se/termux-packages-24 stable/main aarch64 Packages [269 kB]
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 you should do as Termux user (only for Android 7+)

You need to pick a one of the available mirrors by using utility termux-change-repo or manually edit sources.list by replacing the Bintray URL with value obtained from Termux Mirrors List.

Beware of third-party scripts claiming theirselves as repository fixers! They could install untrusted GPG key and redirect your Termux installation onto malicious repository. Official tool for changing repositories is bundled within Termux and called termux-change-repo.

Usage of termux-change-repo is simple:

  1. Select one or more repositories for which you want to change mirror by tapping "space" and navigating over list by up/down arrow keys. Tap enter to confirm the choice.
    Screenshot_20210602-004033
  2. Pick a mirror, it is recommended to begin with mirror hosted by Grimler. Same as previously, navigate over list by arrow keys, pick mirror by space key and confirm choice by pressing "enter".
    Screenshot_20210602-004103

Highly recommended to run pkg upgrade after changing mirror.

screen-20210427-154621.2.mp4

If you get E: Repository .. changed its .. value from .. to ..

Package manager can show you a notification with prompt which look like this one:

E: Repository 'https://grimler.se/termux-root-packages-24 root InRelease' changed its 'Origin' value from 'Bintray' to 'termux-root-packages-24 root'
E: Repository 'https://grimler.se/termux-root-packages-24 root InRelease' changed its 'Label' value from 'Bintray' to 'termux-root-packages-24 root'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] 

It is completely normal. Answer "yes" to this prompt. It will be shown only once per repository, so package manager will ask you to confirm for game-repo, science-repo, etc separately but you will need to confirm them only one time.


Do not use Termux app from Google Play. It is deprecated.

Use Termux application from F-Droid, here is the link: https://f-droid.org/en/packages/com.termux/. Google Play variant is deprecated, doesn't receive updates and contains issues as well as outdated repository URLs.

Before migrating to F-Droid Termux version, uninstall the application and all add-ons like Termux:API, Termux:Styling, Termux:Widget and others. This is a required step because of signature mismatch between F-Droid and Google Play variants. If you need to back up data before uninstalling app, you can use suggestions from https://wiki.termux.com/wiki/Backing_up_Termux.


Remember that Android 5.x - 6.x is NOT SUPPORTED!

Android OS version range 5.x - 6.x has been deprecated since 01.01.2020 and no longer worked on anymore. Provided here repository workarounds are only for Android 7.0. We never announced that bringing back support of legacy Android versions.

If you managed to put an URL of our mirrors to your sources.list and upgrade your legacy Termux, do not complain about broken installation. If maintainers marked something as unsupported, perhaps there is a reason for that, isn't it?

Discussions about Android 5.x - 6.x are off-topic here.

Remember that VMOS and F1VM environments are NOT SUPPORTED!

These "virtual" environments are not supported by Termux. They have a number of issues including broken apt-key.

Discussions about VMOS and F1VM are off-topic here.

@ghost ghost pinned this issue May 3, 2021
@ghost ghost added the information Informational post. label May 3, 2021
@agnostic-apollo
Copy link
Member

I have updated and referred to this in Package Management as well.

@MDisHere
Copy link

MDisHere commented May 4, 2021

Thank You so much sir.

This was referenced May 6, 2021
@Tayaga334

This comment has been minimized.

@Tayaga334
Copy link

What should i do

@Tayaga334

This comment has been minimized.

@ghost
Copy link
Author

ghost commented May 6, 2021

@Tayaga334 What you should do is written at #6726 (comment).

@drohhyn
Copy link

drohhyn commented May 6, 2021

So what to do if termux-change-repo is not available (command not found)? I am running the latest version from F-droid. apt edit-sources leads to E: Sub-process editor returned an error code (100) (I do not have root on the phone).
Where is sources.list located to edit it manually (it's not /etc/apt/sources.list)? Though, it seems like I dont have vim, nano or emacs installed!?

@ghost
Copy link
Author

ghost commented May 6, 2021

echo "deb https://grimler.se/termux-packages-24 stable main" > $PREFIX/etc/apt/sources.list

@drohhyn
Copy link

drohhyn commented May 6, 2021

echo "deb https://grimler.se/termux-packages-24 stable main" > $PREFIX/etc/apt/sources.list

Thank you!
Also had to update $PREFIX/etc/apt/sources.list.d/game.list and $PREFIX/etc/apt/sources.list.d/science.list in the same way and now it is working again.

@stale stale bot added the wontfix Issue won't be fixed. label Dec 21, 2021
@ghost ghost removed the wontfix Issue won't be fixed. label Dec 21, 2021
@ghost ghost deleted a comment from stale bot Dec 21, 2021
@ghost ghost added the not stale label Dec 21, 2021
@thunder-coding
Copy link
Member

I feel it would make sense to close this issue since this isn't actually an issue but keep it pinned until the Play Store version of Termux is either updated or removed.

@B0j4ngl35
Copy link

After uninstalling v.117, I have not been able to install v.118 on OOS 11 ARM64. Reinstalled v.117 without any issues.

@dvtate
Copy link

dvtate commented Jan 11, 2022

Getting the same problem with grimler mirror

@Grimler91
Copy link
Member

@dvtate most likely not the same, but rather missing key error. Download and install latest termux-keyring package:

curl -LO https://packages.termux.org/apt/termux-main/pool/main/t/termux-keyring/termux-keyring_2.4_all.deb 
apt install ./termux-keyring_2.4_all.deb 
apt update && apt dist-upgrade -yq 

@oldman20
Copy link

oldman20 commented Feb 3, 2022

Getting the same problem with grimler mirror

Today 03.03.2022 same error, what's mirror else can working?

@Grimler91
Copy link
Member

@oldman20 install from f-droid or update the keyring package, as already written in this thread (read the comments..)

@termux termux locked as resolved and limited conversation to collaborators Feb 3, 2022
@Grimler91 Grimler91 unpinned this issue Feb 24, 2022
@Grimler91 Grimler91 pinned this issue Feb 25, 2022
@Grimler91 Grimler91 unpinned this issue Mar 4, 2022
@Grimler91 Grimler91 pinned this issue Mar 9, 2022
@Grimler91 Grimler91 unpinned this issue Aug 24, 2022
@2096779623 2096779623 pinned this issue Oct 11, 2022
@xtkoba xtkoba removed the not stale label Dec 24, 2022
@MrAdityaAlok MrAdityaAlok unpinned this issue Jan 25, 2023
@MrAdityaAlok MrAdityaAlok pinned this issue Jan 25, 2023
@truboxl truboxl unpinned this issue Oct 17, 2023
@truboxl truboxl pinned this issue Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
information Informational post.
Projects
None yet
Development

No branches or pull requests