Grafana OSS Debian repo changes Origin, Label; is this intended?

Attempting to do an apt-update, apt is unhappy about changes in the Origin and Label in the InRelease file. Here are the error messages:

E: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Origin' value from 'grafana stable' to '. stable'
E: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Label' value from 'grafana stable' to '. stable'

This seems to have happened sometime in the last 24 hours or so (sometime on November 1 or 2). It’s an Ubuntu Bionic machine, though this looks like it ought to be a problem independent of the distribution.

Is this change on purpose? I’ve been looking for mention of it on other issues but so far haven’t found anything, and I’d rather not manually tell apt to accept the changes if this is in error.

1 Like

Can confirm, I saw this too.

This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.type or paste code here

More, is this expected?

Looks like it’s no longer a problem now (as of 20:11 UTC on November 3) – the Origin and Label have returned to their original values. I assume it was a bug that they got changed and that it’s been corrected.

2 Likes

Hey!

This happened because we attempted a Linux repository migration, which was ultimately reverted due to other issues. You may encounter this again starting from now.

The new repository has the same GPG key, but this change in the Origin and Label values will be permanent, you may tell apt to accept it.

2 Likes

Thanks for confirming, Julien.

For me the solution was to execute the following (Ubuntu):

sudo apt-get update --allow-releaseinfo-change

Hello,

i am trying to update grafana with apt on debian linux. But i always get this error with “apt upgrade”:

E: Fehlschlag beim Holen von https://apt.grafana.com/pool/main/g/grafana/grafana_9.3.6_amd64.deb 404  Not Found [IP: 146.75.122.217 443]
E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?

Can you help me with this issue?

What do you have in the Grafana sources.list file as the repository URL?

Antony.

In /etc/apt/source.list.d the grafana.list file contains:

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

All I can suggest is “try again after a while” and hope that DNS gives you a
different IP address for that hostname - it will, but I don’t know how long you
might need to wait for your local cache to fetch a new answer.

I see a 600 second timeout on it, so it’ll be a minimum of 10 minutes between
tries before you can expect to see a different address.

Antony.

I searched several times for a solution, and I solved it with:

sudo apt install ca-certificates

The issue appears to be back? I re-checked the website for the latest apt repository, got the new key, apt update, no change, apt-get update --allow-releaseinfo-change, no change, deleted the /var/lib/apt/lists/apt.grafana.com_dists_stable_InRelease file and apt update, same origin and label of . stable, manually confirmed with curl, curl https://apt.grafana.com/dists/stable/Release, so I think this issue is back?