404 trying to install from debian repo

Been running grafana on Debian 11 (bullseye, raspbian), but upgrading from apt seems broken.

I re-added the apt repo since it looks like it got renamed recently from something like repository.grafana.com to apt.grafana.com. No biggie, but I still can’t upgrade because apt upgrade throws a 404.

Here’s my /etc/apt/sources.list.d/grafana:

deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main

Here’s trying to run an update:

$ sudo apt update && sudo apt upgrade
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://download.docker.com/linux/debian bullseye InRelease
Hit:6 https://apt.grafana.com stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  grafana
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 91.3 MB of archives.
After this operation, 148 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 https://apt.grafana.com stable/main arm64 grafana arm64 9.2.4
  404  Not Found [IP: 2a04:4e42:600::729 443]
E: Failed to fetch https://apt.grafana.com/pool/main/g/grafana/grafana_9.2.4_arm64.deb  404  Not Found [IP: 2a04:4e42:600::729 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Not sure what’s up, would appreciate some input. --fix-missing does not help.

Same here. I’m trying to install Grafana for my first time on RPI following this guide

but i got :

E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_9.2.4_armhf.deb  404  Not Found [IP: 151.101.66.217 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Probably a temporary error?

1 Like

Someone borked the release :smiley:

1 Like

lol i waited years and years for installing Grafana anche the day i decided to do it, someone bork the release… COINCIDENCE? i don’t think so…
anyway now it works

Hi @felixoghina,

Welcome to the :grafana: community support forums !!

Please follow this guide for the installation on the Debian distro:

I did?

The docs you linked to are outdated. The latest docs, which is what I followed, specify a different APT repository URL. You can see that I used this in my original post.

It seems this new repo is broken in some way. The package listing is there but the .deb files cannot be found.

Thanks @felixoghina,

for the quick reply. I see that there is currently an open issue reported by several users for the APT package manager where they have a problem in installing and updating grafana:

I suggest that you follow it up and see if this is exactly what you are also facing (if not then please open a new issue in our official GitHub repository)

I hope this helps.

Different problem that I’d already moved past, assumed it stemmed from the new repo URLs.

Anywho, the upgrade worked today, without me making any changes. I still suspect this was some sort of mishap on the repo side.

Had the same problem just now, following the updated instructions.

Failed to fetch https://apt.grafana.com/pool/main/g/grafana/grafana_9.3.0%7ebeta1_amd64.deb  404  Not Found

Commented out the beta repository in /etc/apt/sources.list.d/grafana.list and then it worked.