Open8
久々のラズパイ

久々にSSHログインするラズパイ。

lanscanアプリでホスト名を探す。
ssh pi@raspberry.local
などでつなぐ

$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
ふむふむ

RasPi configのUIが若干違うのなんでだろー
sudo raspi-config
右がOS入れたばかりなので新しいはず。
左は古いのかデバイスによって異なる何かなのか。

パッケージリスト更新
$ sudo apt update
パッケージの更新
$ sudo apt upgrade

エラーで読み込めないものがでてるね
$ sudo apt update
ヒット:1 https://download.docker.com/linux/raspbian buster InRelease
ヒット:2 http://archive.raspberrypi.org/debian buster InRelease
取得:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
15.0 kB を 5秒 で取得しました (3,186 B/s)
パッケージリストを読み込んでいます... 完了
E: http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease の取得に失敗しました
E: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。

ほー
sudo apt update --allow-releaseinfo-change
これで解消っぽい

sudo apt update
の次は以下で更新
sudo apt full-upgrade -y
full-upgradeで色々と更新してくれるっぽい