Skip to content

Fehler bei Grafana Apt-Repository

Beim apt-get update wird folgender Fehler des Grafana Repositorys angezeigt. Dabei wurden beim Repository, Änderung der Origin- und Label-Werte vorgenomme, der GPG-Schlüssel ist der alte geblieben.

root:~# apt-get update 
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                                            
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                                             
Get:4 https://packages.grafana.com/oss/deb stable InRelease [5,813 B]                                                                                    
Reading package lists... Done                         
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'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Um diese neuen Origin- und Label-Werte anzupassen, führen wir den Befehl apt-get update --allow-releaseinfo-change aus.

root:~#  apt-get update --allow-releaseinfo-change
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
Get:4 https://packages.grafana.com/oss/deb stable InRelease [5,813 B]                                       
Get:5 https://packages.grafana.com/oss/deb stable/main amd64 Packages [102 kB]
Fetched 102 kB in 1s (86.7 kB/s)
Reading package lists... Done
N: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Origin' value from 'grafana stable' to '. stable'
N: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Label' value from 'grafana stable' to '. stable'

Wenn wir nun wieder apt-get update ausführen, funktionieren nun auch wieder alle Repositorys.

root:~# apt-get update 
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 https://packages.grafana.com/oss/deb stable InRelease                                                                   
Reading package lists... Done

Dokumentation