作業ログの部屋 -19ページ目

作業ログの部屋

いろいろな作業ログを公開。何かの時に便利・・・かも。記録とメモ代わりに。

update するとエラーが出る


Err:6 https://packages.grafana.com/oss/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545


詳細はよくわからんが、PUBKEYがおかしいといってる>public key is not available

grafanaをインストールした時の手順を見てみると、
#Add the APT key used to authenticate packages:
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
でkeyをゲットして追加しているようなので、これを再度実行したところ、エラーの解消を確認できた。


# ちなみに正常時に動作(シェルにまとめて一括して実施してる)
sudo apt update
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt clean


#結果は、
pi@raspberrypi-64:~ $ bash all_update.sh
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:4 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:5 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Get:6 https://packages.grafana.com/oss/deb stable InRelease [5,983 B]
Get:7 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:8 https://packages.grafana.com/oss/deb stable/main arm64 Packages [99.7 kB]
Get:9 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [308 kB]
Get:10 https://packages.grafana.com/oss/deb stable/main armhf Packages [91.9 kB]
Get:11 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [314 kB]
Fetched 1,028 kB in 15s (68.5 kB/s)
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 NEW packages will be installed:
  musl
The following packages will be upgraded:
  grafana
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.9 MB of archives.
After this operation, 73.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 musl arm64 1.2.2-1 [399 kB]
Get:2 https://packages.grafana.com/oss/deb stable/main arm64 grafana arm64 10.1.1 [98.5 MB]
Fetched 98.9 MB in 19s (5,254 kB/s)
Selecting previously unselected package musl:arm64.
(Reading database ... 92525 files and directories currently installed.)
Preparing to unpack .../musl_1.2.2-1_arm64.deb ...
Unpacking musl:arm64 (1.2.2-1) ...
Preparing to unpack .../grafana_10.1.1_arm64.deb ...
Unpacking grafana (10.1.1) over (10.0.3) ...
Setting up musl:arm64 (1.2.2-1) ...
Setting up grafana (10.1.1) ...
Restarting grafana-server service... OK
Processing triggers for man-db (2.9.4-2) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@raspberrypi-64:~ $