Up ソフトウェアの更新 作成: 2021-02-04
更新: 2021-02-04


  1. パッケージ一覧を更新 $ sudo apt update Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.8 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [353 kB] Fetched 13.4 MB in 46s (292 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 38 packages can be upgraded. Run 'apt list --upgradable' to see them.

  2. パッケージを更新 $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: bluez-firmware ca-certificates firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek gstreamer1.0-plugins-bad libgstreamer-plugins-bad1.0-0 libvlc-bin libvlc5 libvlccore9 lxplug-bluetooth python-rpi.gpio python3-rpi.gpio raspberrypi-sys-mods raspi-config rc-gui rpi-chromium-mods rpi-eeprom rpi.gpio-common sudo thonny tzdata vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization xserver-common xserver-xorg-core 38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 41.2 MB of archives. After this operation, 1,763 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.raspberrypi.org/debian buster/main armhf rpi-chromium-mods armhf 20210118 [6,452 B] Get:2 http://archive.raspberrypi.org/debian buster/main armhf bluez-firmware all 1.2-4+rpt8 [175 kB]   :   : Get:38 http://archive.raspberrypi.org/debian buster/main armhf xserver-xorg-core armhf 2:1.20.4-1+rpt2+deb10u3 [3,280 kB] Fetched 41.2 MB in 1min 56s (354 kB/s) Reading changelogs... Done Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 163597 files and directories currently installed.) Preparing to unpack .../00-rpi-chromium-mods_20210118_armhf.deb ... Unpacking rpi-chromium-mods (20210118) over (20201231) ...   :   : Preparing to unpack .../37-libgstreamer-plugins-bad1.0-0_1.14.4-1+rvt+deb10u1_armhf.deb ... Unpacking libgstreamer-plugins-bad1.0-0:armhf (1.14.4-1+rvt+deb10u1) over (1.14.4-1+b1) ... Setting up bluez-firmware (1.2-4+rpt8) ... Setting up rpi-chromium-mods (20210118) ... Setting up rpi.gpio-common:armhf (0.7.0-0.1~bpo10+4) ... Setting up firmware-atheros (1:20190114-1+rpt11) ... Setting up firmware-misc-nonfree (1:20190114-1+rpt11) ... update-initramfs: deferring update (trigger activated) Setting up vlc-l10n (3.0.12-0+deb10u1+rpt1) ... Setting up python3-rpi.gpio (0.7.0-0.1~bpo10+4) ... Setting up raspberrypi-sys-mods (20210125) ... Adding vscode repo... Setting up tzdata (2021a-0+deb10u1) ... Current default time zone: 'Asia/Tokyo' Local time is now: Thu Feb 4 20:18:27 JST 2021. Universal Time is now: Thu Feb 4 11:18:27 UTC 2021. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ca-certificates (20200601~deb10u2) ... Updating certificates in /etc/ssl/certs... 11 added, 0 removed; done. Setting up libgstreamer-plugins-bad1.0-0:armhf (1.14.4-1+rvt+deb10u1) ... Setting up lxplug-bluetooth (0.19) ...   :   : Setting up vlc-bin (3.0.12-0+deb10u1+rpt1) ... Setting up vlc (3.0.12-0+deb10u1+rpt1) ... Processing triggers for mime-support (3.62) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.31.4-3) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for systemd (241-7~deb10u5+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ... Processing triggers for initramfs-tools (0.133+deb10u1) ... Processing triggers for ca-certificates (20200601~deb10u2) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done. Processing triggers for libvlc-bin:armhf (3.0.12-0+deb10u1+rpt1) ...

  3. ファームウェアの更新 (これは行わない)
    $ sudo rpi-update

    以下は,rpi-update の実行でどんなメッセージが表示されるかを見るため,リスク承知で rpi-update をやってみたもの:
    *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** Performing self-update *** Relaunching after update *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom *** We're running for the first time *** Backing up files (this will take a few minutes) *** Backing up firmware *** Backing up modules 5.4.83-v7+ ############################################################# WARNING: This update bumps to rpi-5.10.y linux tree See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=288234 'rpi-update' should only be used if there is a specific reason to do so - for example, a request by a Raspberry Pi engineer or if you want to help the testing effort and are comfortable with restoring if there are regressions. DO NOT use 'rpi-update' as part of a regular update process. ############################################################## Would you like to proceed? (y/N) *** Downloading specific firmware revision (this will take a few minutes) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 168 100 168 0 0 1043 0 --:--:-- --:--:-- --:--:-- 1043 100 119M 100 119M 0 0 509k 0 0:04:00 0:04:00 --:--:-- 307k *** Updating firmware *** Updating kernel modules *** depmod 5.10.11-v7+ *** depmod 5.10.11-v7l+ *** depmod 5.10.11+ *** depmod 5.10.11-v8+ *** Updating VideoCore libraries *** Using HardFP libraries *** Updating SDK *** Running ldconfig *** Storing current firmware revision *** Deleting downloaded files *** Syncing changes to disk *** If no errors appeared, your firmware was successfully updated to 43998c82a7e88df284b7aa30221b2d0d21b2b86a *** A reboot is needed to activate the new firmware