Error installing Grafana - unexpected file size

Hi,
On a Raspberry Pi 4, I followed the installation instructions on this website. When running sudo apt-get update I get an error message:

Err:6 https://packages.grafana.com/oss/deb stable/main armhf Packages
File has unexpected size (27478 != 27354). Mirror sync in progress? [IP: 2a04:4e42:1d::729 443]
Hashes of expected file:

  • Filesize:27354 [weak]
  • SHA512:fe677d1e4a50ca92b82cfe57adb6cc2749933ee325a4747d9d633bbe75c27d0d19ed1c11fc645e634b4f76d2c2d2154afbf5b3ac91507922b0b08b76c2ea01df
  • SHA256:3eec60aaa41e3db7a652ac3d1fb36de89fe7c064ec31d477920f174ebc445f27
  • SHA1:a9ed4fec0cacd952e62c42f62b3527518df0af84 [weak]
  • MD5Sum:bfca550a082007e06a8d019be944195f [weak]
    Release file created at: Thu, 15 Jul 2021 11:20:36 +0000
    Reading package lists… Done
    E: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/main/binary-armhf/Packages.bz2 File has unexpected size (27478 != 27354). Mirror sync in progress? [IP: 2a04:4e42:1d::729 443]
    Hashes of expected file:
    - Filesize:27354 [weak]
    - SHA512:fe677d1e4a50ca92b82cfe57adb6cc2749933ee325a4747d9d633bbe75c27d0d19ed1c11fc645e634b4f76d2c2d2154afbf5b3ac91507922b0b08b76c2ea01df
    - SHA256:3eec60aaa41e3db7a652ac3d1fb36de89fe7c064ec31d477920f174ebc445f27
    - SHA1:a9ed4fec0cacd952e62c42f62b3527518df0af84 [weak]
    - MD5Sum:bfca550a082007e06a8d019be944195f [weak]
    Release file created at: Thu, 15 Jul 2021 11:20:36 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

Of course, if I then run sudo apt-get install -y grafana, I get:

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package grafana is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘grafana’ has no installation candidate

Anything wrong your end ?

Same for me, for few days.

Same issue with amd64…
Is there a solution ?

:confused:

E: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (23806 != 23695). Mirror sync in progress? [IP: 199.232.194.217 443]
Hashes of expected file:
- Filesize:23695 [weak]
- SHA512:2777cc785ce2602ca181384db126d9f8b6ba1fe4646c406a8b3ce3420dddcb5ad0bd183da6f0aa3b3a8171368fde6c2a49443b110f6432b98344209e0f6186bd
- SHA256:8efd16d6a802dc874143eeba53e79c2ecfdf946b32536d10f33db8b948b2cabc
- SHA1:b4c0c38fe69119c749981163fbceb771310f1387 [weak]
- MD5Sum:a7e1e78a0bade6fc3d25d2101cb42d92 [weak]
Release file created at: Thu, 15 Jul 2021 11:20:36 +0000

The solution is for someone from Grafana to fix their debian package repo… :smiley:

The repository has been fixed

++

i have this issue too, has the repo been unfixed ?
on a raspberry pi 4

bump, same problem here

up, repository down again