Sionの日記

オッサンゲーマー

Debian 11 bullseye

www.debian.org

8/14にリリースされたらしい。Raspberry Pi OSもbusterがoldstableになってる(というか、それで気が付いた)。とりあえず、RaspberryPi4からアップデートしてみる。ちょっと不安だ。

/etc/apt/sources.list と /etc/apt/sources.list.d/raspi.list をbullseyeに書き換えてfull-upgrade実施すると

pi@rpi4b:~ $ sudo apt full-upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードパッケージを検出しています... エラー!
インストールすることができないパッケージがありました。おそらく、あり得
ない状況を要求したか、(不安定版ディストリビューションを使用しているの
であれば) 必要なパッケージがまだ作成されていなかったり Incoming から移
動されていないことが考えられます。
以下の情報がこの問題を解決するために役立つかもしれません:

以下のパッケージには満たせない依存関係があります:
libc6-dev : 破壊: libgcc-8-dev (< 8.4.0-2~) しかし、8.3.0-6+rpi1 はインストールされようとしています
E: エラー、pkgProblemResolver::Resolve は停止しました。おそらく変更禁止パッケージが原因です。
pi@rpi4b:~ $

おう、 いきなりエラー。一旦、/etc/apt/sources.list と /etc/apt/sources.list.d/raspi.listをbusterに戻して、apt updateしなおし。bullseyeはgcc-9になってるそうなので、gcc-8をremoveしてしまう。

pi@rpi4b:~ $ sudo apt update
取得:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
取得:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
取得:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
取得:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
取得:5 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.7 kB]
取得:6 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [104 kB]
取得:7 http://raspbian.raspberrypi.org/raspbian buster/rpi armhf Packages [1,360 B]
13.6 MB を 13秒 で取得しました (1,077 kB/s)
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
パッケージはすべて最新です。
pi@rpi4b:~ $ sudo apt remove gcc-8
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
libasan5 libcc1-0 libgcc-8-dev libstdc++-8-dev libubsan1
これを削除するには 'sudo apt autoremove' を利用してください。
以下のパッケージは「削除」されます:
build-essential g++ g++-8 gcc gcc-8
アップグレード: 0 個、新規インストール: 0 個、削除: 5 個、保留: 0 個。
この操作後に 43.4 MB のディスク容量が解放されます。
続行しますか? [Y/n] y
(データベースを読み込んでいます ... 現在 169568 個のファイルとディレクトリがインストールされています。)
build-essential (12.6) を削除しています ...
g++ (4:8.3.0-1+rpi2) を削除しています ...
g++-8 (8.3.0-6+rpi1) を削除しています ...
gcc (4:8.3.0-1+rpi2) を削除しています ...
gcc-8 (8.3.0-6+rpi1) を削除しています ...
man-db (2.8.5-2) のトリガを処理しています ...
pi@rpi4b:~ $ sudo apt autoremove
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージは「削除」されます:
libasan5 libcc1-0 libgcc-8-dev libstdc++-8-dev libubsan1
アップグレード: 0 個、新規インストール: 0 個、削除: 5 個、保留: 0 個。
この操作後に 23.3 MB のディスク容量が解放されます。
続行しますか? [Y/n] y
(データベースを読み込んでいます ... 現在 169470 個のファイルとディレクトリがインストールされています。)
libstdc++-8-dev:armhf (8.3.0-6+rpi1) を削除しています ...
libgcc-8-dev:armhf (8.3.0-6+rpi1) を削除しています ...
libasan5:armhf (8.3.0-6+rpi1) を削除しています ...
libcc1-0:armhf (8.3.0-6+rpi1) を削除しています ...
libubsan1:armhf (8.3.0-6+rpi1) を削除しています ...
libc-bin (2.28-10+rpi1) のトリガを処理しています ...
pi@rpi4b:~ $

再度、/etc/apt/sources.list と /etc/apt/sources.list.d/raspi.list をbullseyeに書き換えてfull-upgrade

pi@rpi4b:~ $ sudo apt update
取得:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
取得:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.5 kB]
取得:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
取得:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [115 kB]
取得:5 http://raspbian.raspberrypi.org/raspbian bullseye/contrib armhf Packages [60.2 kB]
取得:6 http://raspbian.raspberrypi.org/raspbian bullseye/non-free armhf Packages [106 kB]
取得:7 http://raspbian.raspberrypi.org/raspbian bullseye/rpi armhf Packages [1,360 B]
13.5 MB を 11秒 で取得しました (1,190 kB/s)
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードできるパッケージが 1645 個あります。表示するには 'apt list --upgradable' を実行してください。
pi@rpi4b:~ $ sudo apt full-upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードパッケージを検出しています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
ant-contrib bsdmainutils cpp-8 dh-python geoip-database gsfonts libaudio2

--途中、省略--

ruby-prawn-table ruby-rc4 ruby-stringex ruby-ttfunk
これを削除するには 'sudo apt autoremove' を利用してください。
以下のパッケージは「削除」されます:
fcitx-frontend-qt4 gvfs-fuse libgc1c2 libgnustep-base1.26 libldb1 libnode64 libpcre2-posix0 libpolkit-backend-1-0

--途中、省略--

 python2.7-dev python3.7 python3.7-dev python3.7-venv qt-at-spi ruby2.5 uno-libs3
以下のパッケージが新たにインストールされます:
alsa-topology-conf alsa-ucm-conf bind9-libs bsdextrautils connman connman-gtk cpp-10 edid-decode enchant-2 erlang-base

--途中、省略--

ruby2.7 runit-helper sox tpm-udev uno-libs-private vlc-plugin-access-extra xdg-user-dirs-gtk xfconf
以下のパッケージは保留されます:
cpp-8 dh-python gcc-8-base libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-pkg-resources python-setuptools
python-six python2 python2-minimal python2.7 python2.7-minimal python3-six
以下のパッケージはアップグレードされます:
acl adwaita-icon-theme alacarte alsa-utils ant ant-contrib ant-optional apparmor apt apt-listchanges apt-utils arandr aspell

--途中、省略--

 xserver-xorg-video-fbturbo xtrans-dev xxd xz-utils zenity zenity-common zip zlib1g zlib1g-dev
アップグレード: 1622 個、新規インストール: 333 個、削除: 65 個、保留: 14 個。
1,445 MB 中 1,445 MB のアーカイブを取得する必要があります。
この操作後に追加で 492 MB のディスク容量が消費されます。
続行しますか? [Y/n] y

アップグレート1622個...大丈夫かな?dist-upgradeなんでこんなもんかなぁ。最悪、imgから焼き直せばいいか。ということで、アップグレード中です。

 

 8:40 追記

気が付くとターミナルが閉じていたので、接続しようとしたけど繋がらない。有線LAN側のIPで接続するとつながったので、よくわからんから再起動を実施。

無線LANは使えないままだったけど、有線LANでつないでapt full-upgradeを行うとエラーが発生。「sudo dpkg --configure -a」を行えとあるので実施。

pi@rpi4b:~ $ sudo apt full-upgrade
E: dpkg は中断されました。問題を修正するには 'sudo dpkg --configure -a' を手動で実行する必要があります。
pi@rpi4b:~ $ sudo dpkg --configure -a
python3-pkg-resources (52.0.0-4) を設定しています ...
--途中、省略--

libgdk-pixbuf-2.0-0:armhf (2.42.2+dfsg-1) のトリガを処理しています ...
pi@rpi4b:~ $

apt full-upgradeを再実行。

pi@rpi4b:~ $ sudo apt full-upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
状態情報を読み取っています... 完了
アップグレードパッケージを検出しています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
ant-contrib bsdmainutils cpp-8 dh-python geoip-database gsfonts libaudio2
libbasicusageenvironment1 libbind9-161 libbison-dev libboost-atomic1.67.0
libboost-chrono1.67.0 libboost-date-time1.67.0 libboost-filesystem1.67.0
libboost-iostreams1.67.0 libboost-locale1.67.0 libboost-regex1.67.0
libboost-system1.67.0 libboost-thread1.67.0 libcdio18 libcodec2-0.8.1
libcroco3 libcrypto++6 libdav1d3 libdc1394-22 libdns1104 libdns1110
libdouble-conversion1 libdvdread4 libebml4v5 libenchant1c2a libevent-2.1-6
libevent-core-2.1-6 libevent-pthreads-2.1-6 libfluidsynth1 libfreetype6-dev
libgeoip1 libgit2-27 libgroupsock8 libgssdp-1.0-3 libgupnp-1.0-4
libgutenprint-common libgutenprint9 libhttp-parser2.8 libicu63 libilmbase23
libindicator3-7 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19
libjim0.77 libjpeg8 libkeybinder0 liblivemedia64 libllvm9 liblouis17
liblouisutdml8 liblwres161 libmatroska6v5 libmediainfo0v5 libmng1 libmpdec2
libmysofa0 libncurses5 libncursesw5 libnfs12 liboauth0 libopenexr23
liborcus-0.14-0 libperl5.28 libpgm-5.2-0 libpipewire-0.2-1 libplacebo7
libplymouth4 libpoppler82 libprotobuf-lite17 libprotobuf17 libpython3.7
libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libqpdf21
libqscintilla2-qt5-13 libqwt-qt5-6 libraw19
libreoffice-avmedia-backend-gstreamer librtmidi4 libruby2.5 libsane
libsisu-guice-java libsisu-ioc-java libsnmp30 libstk-4.5.0 libtinyxml2-6a
libtinyxml2-8 libunique-1.0-0 libusageenvironment3 libusb-0.1-4 libusbmuxd4
libvpx5 libwnck-common libwnck22 libx264-155 libx265-165 libxcb-util0
libzen0v5 libzinnia0 node-ansi-align node-arrify node-bluebird node-boxen
node-builtin-modules node-call-limit node-camelcase node-cli-boxes
node-cliui node-co node-concat-stream node-config-chain node-cross-spawn
node-cyclist node-decamelize node-decompress-response node-deep-extend
node-detect-indent node-detect-newline node-duplexer3 node-duplexify
node-editor node-end-of-stream node-errno node-execa node-find-up
node-flush-write-stream node-from2 node-fs-vacuum node-get-caller-file
node-get-stream node-got node-has-symbol-support-x node-has-to-string-tag-x
node-import-lazy node-invert-kv node-is-buffer node-is-builtin-module
node-is-npm node-is-object node-is-plain-obj node-is-retry-allowed
node-is-stream node-isurl node-json-buffer node-kind-of node-latest-version
node-lazy-property node-lcid node-libnpx node-locate-path
node-lowercase-keys node-mem node-merge-stream node-mimic-fn
node-mimic-response node-minimist node-mississippi node-node-uuid
node-npm-run-path node-os-locale node-p-cancelable node-p-finally
node-p-limit node-p-locate node-p-timeout node-package-json
node-parallel-transform node-path-exists node-path-is-inside
node-prepend-http node-proto-list node-prr node-pump node-pumpify node-qw
node-rc node-registry-auth-token node-registry-url node-require-directory
node-require-main-filename node-semver-diff node-sha node-shebang-command
node-shebang-regex node-slide node-sorted-object node-stream-each
node-stream-iterate node-stream-shift node-strip-eof
node-strip-json-comments node-term-size node-through2 node-timed-out
node-typedarray node-uid-number node-unpipe node-url-parse-lax
node-url-to-options node-which-module node-widest-line node-wrap-ansi
node-xdg-basedir node-xtend node-y18n node-yargs node-yargs-parser
perl-modules-5.28 printer-driver-gutenprint pylint3 python-configparser
python-jinja2 python-markupsafe python-pkg-resources python-setuptools
python-six python3-asn1crypto python3-cookies python3-entrypoints
python3-jeepney python3-keyring python3-keyrings.alt python3-pycryptodome
python3-secretstorage python3-simplegeneric python3-xdg python3.7-minimal
qdbus qdbus-qt5 qtchooser qtcore4-l10n ruby-afm ruby-ascii85 ruby-coderay
ruby-did-you-mean ruby-hashery ruby-pdf-core ruby-pdf-reader ruby-prawn
ruby-prawn-table ruby-rc4 ruby-stringex ruby-ttfunk
これを削除するには 'sudo apt autoremove' を利用してください。
以下のパッケージは「削除」されます:
libpython-stdlib nodered pyflakes python python-asn1crypto python-blinker
python-buttonshim python-cairo python-certifi python-cffi-backend
python-click python-colorama python-cookies python-crypto
python-cryptography python-dbus python-entrypoints python-enum34
python-flask python-fourletterphat python-funcsigs python-gobject-2
python-gpiozero python-idna python-ipaddress python-itsdangerous python-jwt
python-keyring python-keyrings.alt python-minecraftpi python-minimal
python-mock python-mote python-oauthlib python-olefile python-openssl
python-pantilthat python-pbr python-picraft python-piglow python-pigpio
python-pil python-pyflakes python-pyinotify python-scrollphat
python-secretstorage python-serial python-simplejson python-smbus
python-sn3218 python-spidev python-urllib3 python-werkzeug python-wheel
python-xdg
以下のパッケージは保留されます:
cpp-8 gcc-8-base
以下のパッケージはアップグレードされます:
dh-python libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib
python-pkg-resources python-setuptools python-six python2 python2-minimal
python2.7 python2.7-minimal python3-six
アップグレード: 12 個、新規インストール: 0 個、削除: 55 個、保留: 2 個。
4,363 kB のアーカイブを取得する必要があります。
この操作後に 64.0 MB のディスク容量が解放されます。
続行しますか? [Y/n] Y

もう少しかかりそうです。

 8:50追記

アップグレードが終了したので、apt autoremoveして再起動。再度apt full-upgradeを行うと、gcc-8-baseが保留状態。変にいじって壊れても困るので、make環境を再構築すべくgccをインストール

pi@rpi4b:~ $ sudo apt install build-essential g++ gcc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
g++-10 gcc-10 libasan6 libcc1-0 libgcc-10-dev libstdc++-10-dev libubsan1
提案パッケージ:
gcc-10-doc gcc-multilib autoconf automake libtool gcc-doc gcc-10-locales
libstdc++-10-doc
以下のパッケージが新たにインストールされます:
build-essential g++ g++-10 gcc gcc-10 libasan6 libcc1-0 libgcc-10-dev
libstdc++-10-dev libubsan1
アップグレード: 0 個、新規インストール: 10 個、削除: 0 個、保留: 1 個。
25.9 MB のアーカイブを取得する必要があります。
この操作後に追加で 98.6 MB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libcc1-0 armhf 10.2.1-6+rpi1 [38.3 kB]
取得:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libasan6 armhf 10.2.1-6+rpi1 [1,986 kB]
取得:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libubsan1 armhf 10.2.1-6+rpi1 [746 kB]
取得:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libgcc-10-dev armhf 10.2.1-6+rpi1 [682 kB]
取得:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf gcc-10 armhf 10.2.1-6+rpi1 [13.4 MB]
取得:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf gcc armhf 4:10.2.1-1+rpi1 [5,196 B]
取得:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libstdc++-10-dev armhf 10.2.1-6+rpi1 [1,751 kB]
取得:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf g++-10 armhf 10.2.1-6+rpi1 [7,341 kB]
取得:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf g++ armhf 4:10.2.1-1+rpi1 [1,632 B]
取得:10 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian bullseye/main armhf build-essential armhf 12.9 [7,704 B]
25.9 MB を 8秒 で取得しました (3,203 kB/s)
以前に未選択のパッケージ libcc1-0:armhf を選択しています。
(データベースを読み込んでいます ... 現在 181757 個のファイルとディレクトリがインストールされています。)
.../0-libcc1-0_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
libcc1-0:armhf (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ libasan6:armhf を選択しています。
.../1-libasan6_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
libasan6:armhf (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ libubsan1:armhf を選択しています。
.../2-libubsan1_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
libubsan1:armhf (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ libgcc-10-dev:armhf を選択しています。
.../3-libgcc-10-dev_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
libgcc-10-dev:armhf (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ gcc-10 を選択しています。
.../4-gcc-10_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
gcc-10 (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ gcc を選択しています。
.../5-gcc_4%3a10.2.1-1+rpi1_armhf.deb を展開する準備をしています ...
gcc (4:10.2.1-1+rpi1) を展開しています...
以前に未選択のパッケージ libstdc++-10-dev:armhf を選択しています。
.../6-libstdc++-10-dev_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
libstdc++-10-dev:armhf (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ g++-10 を選択しています。
.../7-g++-10_10.2.1-6+rpi1_armhf.deb を展開する準備をしています ...
g++-10 (10.2.1-6+rpi1) を展開しています...
以前に未選択のパッケージ g++ を選択しています。
.../8-g++_4%3a10.2.1-1+rpi1_armhf.deb を展開する準備をしています ...
g++ (4:10.2.1-1+rpi1) を展開しています...
以前に未選択のパッケージ build-essential を選択しています。
.../9-build-essential_12.9_armhf.deb を展開する準備をしています ...
build-essential (12.9) を展開しています...
libasan6:armhf (10.2.1-6+rpi1) を設定しています ...
libubsan1:armhf (10.2.1-6+rpi1) を設定しています ...
libcc1-0:armhf (10.2.1-6+rpi1) を設定しています ...
libgcc-10-dev:armhf (10.2.1-6+rpi1) を設定しています ...
gcc-10 (10.2.1-6+rpi1) を設定しています ...
libstdc++-10-dev:armhf (10.2.1-6+rpi1) を設定しています ...
g++-10 (10.2.1-6+rpi1) を設定しています ...
gcc (4:10.2.1-1+rpi1) を設定しています ...
g++ (4:10.2.1-1+rpi1) を設定しています ...
update-alternatives: /usr/bin/c++ (c++) を提供するために自動モードで /usr/bin/g++ を使います
build-essential (12.9) を設定しています ...
man-db (2.9.4-2) のトリガを処理しています ...
libc-bin (2.31-13+rpi1) のトリガを処理しています ...
pi@rpi4b:~ $

おや?事前調査ではgcc-9と言われてたと思ったが、実際にインストールされたのはgcc-10でした。 インストール後にgccのバージョンを見てみるとgcc-10がデフォルトで使用されるようでした。

pi@rpi4b:~ $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/10/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 10.2.1-6+rpi1' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Raspbian 10.2.1-6+rpi1)
pi@rpi4b:~ $ 

9:05追記

無線LANが使えないのは不便なので、調査。設定ファイルは /etc/wpa_supplicant/wpa_supplicant.confで設定自体は存在したので、そのままLinkupしてみると

pi@rpi4b:/etc/wpa_supplicant $ sudo ifconfig wlan0 up
SIOCSIFFLAGS: RF-kill のため操作は不可能です
pi@rpi4b:/etc/wpa_supplicant $

なんですと?rfkillの状況確認。

pi@rpi4b:/etc/wpa_supplicant $ rfkill --output-all
ID TYPE DEVICE TYPE-DESC SOFT HARD
0 wlan phy0 Wireless LAN blocked unblocked
1 bluetooth hci0 Bluetooth blocked unblocked
pi@rpi4b:/etc/wpa_supplicant $

blockされてる...再度調査して、起動時にwifibluetoothを有効にする。

pi@rpi4b:~ $ sudo vi /etc/rc.local

# By default this script does nothing.

の下に、以下の記述を追加。

/usr/sbin/rfkill unblock all

再起動後、ifconfig確認(セキュリティ上、設定値は削除)。

pi@rpi4b:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
pi@rpi4b:~ $

eth0とwlan0がちゃんと起動しました。 ターミナルで繋がることも確認。RemoteDesktopでも接続できた。が、Chromiumが起動しない。深追いせずFireFoxに乗り換え。とりあえず、アップグレード前の状況まで戻ったはず。何かあったら別途記載します。

 

2021/8/29 追記

RaspberryPi 3B+の方もbullseyeにアップグレードした。有線LANがつながらないw

正確には固定IPにできない感じ(DHCPでIPは取れてる)。

pi@rpi3bplus:~ $ ifconfig

enx02009eaa0000: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536

wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
pi@rpi3bplus:~ $

しかも、デバイス名がeth0じゃなくなってる。多分USB3.0経由でLANが動作してるからだと思うが、どうしたもんかと。無線LANは固定IPにできたので問題はないけどね。多分バグだろうと思うので、アップデートで直ることを期待。

2021/9/2 追記

バイス名が変わるのは前から起きてたみたい。/etc/udev/rules.d/70-persistent-net.rulesで指定してやるとeth0になったが、固定IPにならないのは相変わらずなので、どうでもいっかということで戻した。固定IPにならない件は仕方ないのでDHCPに変更して、ルーターDHCPサーバでMACアドレスからIP固定するように設定した。なんか、どんどんデフォルト設定になっていくなぁ。