Error during installation of grafana

I was trying to install Grafana .Actually it was working before but since morning it showing Error:
Please if anyone Familiar with this Issue / if have any Suggestion/Solution help me with this.
thanks in advance.


Err:6 https://packages.grafana.com/oss/deb stable/main amd64 Packages
File has unexpected size (23500 != 23806). Mirror sync in progress? [IP: 199.232.194.217 443]
Hashes of expected file:

  • Filesize:23806 [weak]
  • SHA512:8d4f81f6504b980376d772dbd2eaaceffe38ac8da46aa51556c8dd79d4a942e840801d788bc636e9e7caa4bf811755612421bd2c4303e5056f1bd6742e2889c4
  • SHA256:8e4d05af47c48356c4038a8d84a66b40044f992da4864fa48f92d157362ce096
  • SHA1:937d9340ff99ca0f737a43848fc90cb3ec6a50e6 [weak]
  • MD5Sum:47f009df7ea2e33febbeffbd51e48b82 [weak]
    Release file created at: Thu, 15 Jul 2021 15:37:51 +0000
    Get:7 https://packages.grafana.com/oss/deb stable/main amd64 Contents (deb) [104 kB]
    Reading package lists…
    E: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (23500 != 23806). Mirror sync in progress? [IP: 199.232.194.217 443]
    Hashes of expected file:
    - Filesize:23806 [weak]
    - SHA512:8d4f81f6504b980376d772dbd2eaaceffe38ac8da46aa51556c8dd79d4a942e840801d788bc636e9e7caa4bf811755612421bd2c4303e5056f1bd6742e2889c4
    - SHA256:8e4d05af47c48356c4038a8d84a66b40044f992da4864fa48f92d157362ce096
    - SHA1:937d9340ff99ca0f737a43848fc90cb3ec6a50e6 [weak]
    - MD5Sum:47f009df7ea2e33febbeffbd51e48b82 [weak]
    Release file created at: Thu, 15 Jul 2021 15:37:51 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

Hello,
I have the same error

If you use apt, do this:

1. rm -rf /var/lib/apt/lists/*
2. apt autoremove
3. apt update
4. apt install grafana

For yum:

1. rm -rf /var/cache/yum
2. yum clean all
3. yum update

Regards,
Fadjar Tandabawana