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

Package Error #6693

Closed
KentLavi opened this issue Apr 26, 2021 · 9 comments
Closed

Package Error #6693

KentLavi opened this issue Apr 26, 2021 · 9 comments

Comments

@KentLavi
Copy link

Hello, I recently tried an apt update command on my termux, but when I run some commands it gets all errors, when I run the apt update command an error appears as below:

$ apt update Ign:1 https://dl.bintray.com/grimler/game-packages-24 games InRelease Ign:2 https://dl.bintray.com/grimler/science-packages-24 science InRelease Err:3 https://dl.bintray.com/grimler/game-packages-24 games Release 403 Forbidden Ign:4 https://main.termux-mirror.ml stable InRelease Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release 403 Forbidden Err:6 https://main.termux-mirror.ml stable Release Redirection from https to 'http://ww38.main.termux-mirror.ml/dists/stable/Release' is 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?). E: The repository 'https://main.termux-mirror.ml stable 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?).

And when I run an install command like pkg install php it shows an error like this:

$ pkg install php Checking availability of current mirror: ok Reading package lists... Done Building dependency tree... Done E: Unable to locate package php

how do i fix this?

@ghost
Copy link

ghost commented Apr 26, 2021

To fix, use termux-change-repo and switch to different mirror. Then pkg upgrade.

@ghost ghost closed this as completed Apr 26, 2021
@awoimbee
Copy link

awoimbee commented May 1, 2021

I just reinstalled termux from the play store (v0.101 from 2020/09/29) and had this issue.
The main repo is still configured to be on Bintray (#6348).
How am I supposed to know that I need to run termux-change-repo ? Spending 15-20min looking at issues on github isn't a solution, the app is broken in its current state.

@agnostic-apollo
Copy link
Member

agnostic-apollo commented May 1, 2021

@awoimbee Updates have not been released on playstore since last year since we can't push them because termux-app does not comply with current play store polices. You should move to F-Droid releases instead. There is no reasonable way for us to notify users about this other than them checking our communities, wiki or github. Updating playstore description wasn't possible for other maintainers since only fornwall had access to it and he hadn't been available for months, asked him to do it couple of days back, but it still hasn't been done.

Check https://github.com/termux/termux-app#google-playstore-deprecated

@gsmitheidw
Copy link

@agnostic-apollo Is there a recommended method to switch to F-Droid from PlayStore without re-installation and broken plugins?
In previous phones I'd used F-Droid but on this occasion, regrettably I used PlayStore

@agnostic-apollo
Copy link
Member

@gsmitheidw Yes, for Termux app, you can follow the Backing Up Termux instructions to preserve all your data during shifting. The plugins don't store any critical data that I know of and should be safe to uninstall. Only termux ~/ and $PREFIX is important to backup. However, you would still need to uninstall all playstore apks and reinstall from F-Droid, no way around that (without root).

https://github.com/termux/termux-app#installation

@Tayaga334
Copy link

Tayaga334 commented May 6, 2021

It's not work at all, still met the same error.

@agnostic-apollo
Copy link
Member

Switch all mirrors #6726

@RB-DEV-2000
Copy link

Not working at all

@ghost
Copy link

ghost commented May 7, 2021

Do exactly as in mentioned issue #6726.

screen-20210427-154621.2.mp4

dl.bintray.com has gone forever and can't be fixed. Bintray is owned and managed by JFrog Ltd and not by Termux. They shut down service as has been announced.

@ghost ghost locked as resolved and limited conversation to collaborators May 7, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants