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

[Bug]: main repo packages-cf.termux.org has wrong checksum #9860

Closed
bidyut1153-2 opened this issue Apr 4, 2022 · 6 comments
Closed

[Bug]: main repo packages-cf.termux.org has wrong checksum #9860

bidyut1153-2 opened this issue Apr 4, 2022 · 6 comments
Labels
bug report Something is not working properly.

Comments

@bidyut1153-2
Copy link

bidyut1153-2 commented Apr 4, 2022

Problem description

The main repo has wrong checksum. It is mismatch
Error:

Get:1 https://packages-cf.termux.org/apt/termux-main stable InRelease [14.0 kB]                                                             Get:2 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 Packages [397 kB]                                                  Err:2 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 Packages
  File has unexpected size (396983 != 396957). Mirror sync in progress? [IP: 2606:4700:8d9f:c880:5cd9:ca:d1dc:c5bd 443]                       Hashes of expected file:                                               - Filesize:396957 [weak]
   - SHA512:6bdd0d012ead9f668f5e3b39d33d61967f4bfb9990fb2e105c1bdf2d46ba8c23c3d58d5a2f5f2db9b35c32b6cf8c7a85f192936a5fc6e33480659d7830e121b4
   - SHA256:15a056bd77782f627e253bd50891d6ac0a90314713b4bbeae7fb0900e697ec3a                                                                   - SHA1:5dbb5b0a1b26916209008438b2f2a27de08cf1d9 [weak]
   - MD5Sum:6eead3ae6be3f839a8347ef57c2a4a3d [weak]                     Release file created at: Mon, 04 Apr 2022 00:19:20 +0000
Fetched 14.0 kB in 4s (3929 B/s)
Reading package lists... Done
E: Failed to fetch https://packages-cf.termux.org/apt/termux-main/dists/stable/main/binary-aarch64/Packages.bz2  File has unexpected size (396983 != 396957). Mirror sync in progress? [IP: 2606:4700:8d9f:c880:5cd9:ca:d1dc:c5bd 443]
   Hashes of expected file:
    - Filesize:396957 [weak]
    - SHA512:6bdd0d012ead9f668f5e3b39d33d61967f4bfb9990fb2e105c1bdf2d46ba8c23c3d58d5a2f5f2db9b35c32b6cf8c7a85f192936a5fc6e33480659d7830e121b4
    - SHA256:15a056bd77782f627e253bd50891d6ac0a90314713b4bbeae7fb0900e697ec3a
    - SHA1:5dbb5b0a1b26916209008438b2f2a27de08cf1d9 [weak]
    - MD5Sum:6eead3ae6be3f839a8347ef57c2a4a3d [weak]
   Release file created at: Mon, 04 Apr 2022 00:19:20 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

To fix the problem:

  1. switch to termux-change-repo
  2. choose on all repos
  3. click on grimler.se
  4. apt update

What steps will reproduce the bug?

Running apt update

What is the expected behavior?

Termux should access the repo

System information

Happens on all devices that are subscribed to main repo

@bidyut1153-2 bidyut1153-2 added the bug report Something is not working properly. label Apr 4, 2022
@xtkoba
Copy link
Contributor

xtkoba commented Apr 4, 2022

GitHub actions:
aarch64 and arm giving an error and the build stopped

Thus affecting me also. Unfortunately I am not familiar with the infrastructure and I cannot fix this on my own.

@jhynh
Copy link

jhynh commented Apr 4, 2022

also affecting me when running pkg upgrade

@MrAdityaAlok
Copy link
Member

@xtkoba temporarily I switched to grimler.se for CI, now it should work fine. Also retriggering failed builds...

@MrAdityaAlok
Copy link
Member

ping @Grimler91 (if he doesn't know about it)

@landfillbaby
Copy link
Member

it fixed itself by uploading stuff

@MrAdityaAlok
Copy link
Member

Debs upload to packages.termux.org failed again...re-triggering.., though succeeded to upload to grimler.se

[05:48:40] Adding packages to repository 'termux-main'...
[05:48:43] Error: got http_status_code == '000', packages may not appear in repository.

MrAdityaAlok added a commit that referenced this issue Apr 4, 2022
amuramatsu pushed a commit to amuramatsu/termux-packages that referenced this issue Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly.
Projects
None yet
Development

No branches or pull requests

5 participants