Xav's blog

Mettre à jour son Raspberry Pi

Une fois installé, téléchargez les mises à jour des paquets disponibles à l’aide de la commande « sudo apt-get update »

root@raspberrypi:~# sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [12.8 MB]
Fetched 12.8 MB in 11s (1,153 kB/s)
Reading package lists... Done
root@raspberrypi:~#

Puis appliquez ces mises à jours via la commande « sudo apt-get upgrade »

root@raspberrypi:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
  python3-pgzero
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 72.3 kB of archives.
After this operation, 0 B 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 python3-pgzero all 1.2.post4+dfsg-2 [72.3 kB]
Fetched 72.3 kB in 0s (786 kB/s)
(Reading database ... 146828 files and directories currently installed.)
Preparing to unpack .../python3-pgzero_1.2.post4+dfsg-2_all.deb ...
Unpacking python3-pgzero (1.2.post4+dfsg-2) over (1.2.post4+dfsg-2) ...
Setting up python3-pgzero (1.2.post4+dfsg-2) ...
Processing triggers for man-db (2.8.5-2) ...
root@raspberrypi:~#

Il ne reste alors qu’a valider la mise à jour par Y

Mettre à jour le firmware :

root@raspberrypi:~# sudo 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
#############################################################
WARNING: This update bumps to rpi-5.4.y linux tree
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=269769

'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   1473      0 --:--:-- --:--:-- --:--:--  1473
100  118M  100  118M    0     0  1069k      0  0:01:53  0:01:53 --:--:--  583k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 5.4.72+
 *** depmod 5.4.72-v7+
 *** depmod 5.4.72-v7l+
 *** depmod 5.4.72-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 e530832e9058ab73b0d45457aea06f0ea62a08a8
 *** A reboot is needed to activate the new firmware
root@raspberrypi:~#
root@raspberrypi:~# shutdown -r now

Add comment

Most popular

Most discussed