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

Error with repository. Possibly hash mismatch #9

Closed
joshcangit opened this issue Aug 31, 2022 · 2 comments
Closed

Error with repository. Possibly hash mismatch #9

joshcangit opened this issue Aug 31, 2022 · 2 comments
Labels
updating The server is literally updating, as it can be seen in the APT log messages. See issue #9

Comments

@joshcangit
Copy link

Encountered error when syncing to this repository.

Get:1 https://ppa.javinator9889.com all InRelease [1,820 B]
Get:2 https://ppa.javinator9889.com all/main amd64 Packages [791 B]
Err:2 https://ppa.javinator9889.com all/main amd64 Packages
  File has unexpected size (792 != 791). Mirror sync in progress? [IP: 104.21.91.51 443]
  Hashes of expected file:
   - Filesize:791 [weak]
   - SHA256:2cec9d950f316ab4ddbc8b4a6ad3d37f50939463733a3839057b4b469ce40971
   - SHA1:7ec2bad1d349541220622c50d0eb0c6ba4fe4240 [weak]
   - MD5Sum:98486d897f4457899f7d5aa1313f16de [weak]
  Release file created at: Wed, 31 Aug 2022 11:48:23 +0000
Reading package lists... Done
E: Failed to fetch https://ppa.javinator9889.com/dists/all/main/binary-amd64/Packages.gz  File has unexpected size (792 != 791). Mirror sync in progress? [IP: 104.21.91.51 443]
   Hashes of expected file:
    - Filesize:791 [weak]
    - SHA256:2cec9d950f316ab4ddbc8b4a6ad3d37f50939463733a3839057b4b469ce40971
    - SHA1:7ec2bad1d349541220622c50d0eb0c6ba4fe4240 [weak]
    - MD5Sum:98486d897f4457899f7d5aa1313f16de [weak]
   Release file created at: Wed, 31 Aug 2022 11:48:23 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
@joshcangit
Copy link
Author

Somehow, this was fixed!?
I may reopen this if it comes back.

@Javinator9889
Copy link
Owner

Somehow, the issue happened because you tried to install the package while the remote repository was being updated, as you can read in your error messages 😉

Thus the only thing you needed to do was to wait for a while and try again later

@Javinator9889 Javinator9889 added the updating The server is literally updating, as it can be seen in the APT log messages. See issue #9 label Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
updating The server is literally updating, as it can be seen in the APT log messages. See issue #9
Projects
None yet
Development

No branches or pull requests

2 participants