AmubaCraft
AmubaCraft

Reputation: 503

Termux repository is under maintenance or down

I tried updating my package list but got the following error.

$ pkg update

Checking availability of current mirror: ok           
Ign:1 https://dl.bintray.com/grimler/game-packages-24 games InRelease                            
Ign:2 https://dl.bintray.com/grimler/science-packages-24 science InRelease     
Hit:3 https://termux.mentality.rip/termux-packages-24 stable 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
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?).

Somebody know how to fix this problem?

Upvotes: 40

Views: 150200

Answers (3)

Khan Saad
Khan Saad

Reputation: 976

Solve Termux repository is under maintenance or down issue

There are mainly 2 options to solve this issue:

Solution 1:

If possible, use Termux from F-Droid because there are some problems with the one from Google Play.

Solution 2:

If you are unable to update or install any package in termux then you can follow the below method to solve this issue.

  1. First of all type the below command:
termux-change-repo
  1. Now You will see the main repo will be already selected and you just have to check all ( select all ) gaming as well as the science repo and then tap on the OK button.

  2. Now you have to switch from official repo to Alberto repo just select the Alberto Repo and tap on OK Button and the problem will be sloved.
    p.s. If Alberto is not working, then try switching to other repos.

Source : https://www.learntermux.tech/2021/08/termux-repository-under-maintenance.html

Upvotes: 34

Havish.S
Havish.S

Reputation: 141

you can also use

termux-change-repo #Note : Do not select Bintray repo or it will not work

Or

Remove science and game repo packages to fix it This problem is caused by the shutdown of bintray repos

the orginal post is from r/Termux

Upvotes: 14

Havish.S
Havish.S

Reputation: 1035

I also had this problem and I found a way to slove this Follow these steps :

pkg remove game-repo
pkg remove science-repo
pkg update

It should work now! :)

Also btw, termux is permanently shutting down bintary hosted repos example :

https://dl.bintray.com/grimler/game-packages-24 games InRelease
https://dl.bintray.com/grimler/science-packages-24 science InRelease

Upvotes: 94

Related Questions