systeem_update_cli_s
Dit is een oude revisie van het document!
Introductie
Ik gebruik zeer regelmatig CommandLine Interface (CLI) commando's om systemen bij te werken, bij voorkeur alles op 1 regel.
Linux OS updates
Debian
Reguliere server/desktop
sudo apt update && sudo apt full-upgrade && sudo apt clean && sudo apt autoclean && sudo apt autoremove && deborphan
RaspBerry Pi
sudo rpi-eeprom-update -a && sudo apt update && sudo apt full-upgrade && sudo apt clean && sudo apt autoclean && sudo apt autoremove && deborphan
(K)Ubuntu
Reguliere server/desktop
sudo apt update && sudo apt full-upgrade && sudo apt clean && sudo apt autoclean && sudo apt autoremove && sudo snap refresh && deborphan
RaspBerry Pi
sudo rpi-eeprom-update -a && sudo apt update && sudo apt full-upgrade && sudo apt clean && sudo apt autoclean && sudo apt autoremove && sudo snap refresh && deborphan
RedHat Enterprise Linux (RHEL)
sudo dnf update -y
Firmwares en BIOSen e.d.
Standaard hardware
Hiervoor gebruik je de tool fwupdmgr. Voor een overzicht van je devices:
michelle@zeil:~$ fwupdmgr get-devices Gigabyte Technology Co., Ltd. X870 EAGLE WIFI7 │ ├─600 Series Chipset SATA Controller: │ Apparaat-ID: 9c9e35b58089f8ce84c28ec3a5685fd6489eb912 │ Huidige versie: 01 │ Leverancier: Advanced Micro Devices, Inc. [AMD] (PCI:0x1022) │ GUID: c12a74b6-78b0-5cfb-95a3-cd65a12f9e94 ← PCI\VEN_1022&DEV_43F6 │ Apparaat-flags: • Intern apparaat │ • Cryptographic hash verification is available │ • Can tag for emulation │ ├─AMD Ryzen 5 9600 6-Core Processor: │ │ Apparaat-ID: 4bde70ba4e39b28f9eab1628f9dd6e6244c03027 │ │ Huidige versie: 0x0b404023 │ │ Leverancier: Advanced Micro Devices, Inc. │ │ GUID's: 65886698-fa24-5690-9081-56d99820d7ff ← CPUID\PRO_0&FAM_1A&MOD_44 │ │ 5de664b9-8f37-5929-aaf3-e738e7015b80 ← CPUID\PRO_0&FAM_1A&MOD_44&STP_0 │ │ Apparaat-flags: • Intern apparaat │ │ │ ├─AMD Radeon Graphics: │ │ │ Apparaat-ID: 75dbd76d980049e779f2b500d83da475104de0fd │ │ │ Samenvatting: Raphael Generic VBIOS │ │ │ Huidige versie: 8 │ │ │ Leverancier: Advanced Micro Devices, Inc. [AMD/ATI] (PCI:0x1002) │ │ │ GUID: ad9b8b0f-a109-511e-9ec4-2105530c4153 ← AMD\102-RAPHAE │ │ │ Apparaat-flags: • Intern apparaat │ │ │ • Can tag for emulation │ │ │ │ └─Secure Processor: │ Apparaat-ID: c54ab0237d7a8db8c717b68e0be78e4374a2a079 │ Huidige versie: 00.42.00.1a │ Opstartladerversie: 00.42.00.1a │ Leverancier: Advanced Micro Devices, Inc. (PCI:0x1022) │ GUID: 9844da3e-1df2-52fe-9413-d4378af6221e ← PCI\VEN_1022&DEV_1649 │ Apparaat-flags: • Intern apparaat │ • Can tag for emulation │ ├─SSD 990 PRO with Heatsink 1TB: │ Apparaat-ID: 71b677ca0f1bc2c5b804fa1d59e52064ce589293 │ Samenvatting: NVM Express solid state drive │ Huidige versie: 4B2QJXD7 │ Leverancier: Samsung (PCI:0x144D) │ Serienummer: S73JNJ0Y108729X │ GUID's: e693e1a0-df3d-53da-9855-40205fd88f5e ← NVME\VEN_144D&DEV_A80C │ 2967aa12-dfe5-5a2e-8345-7161c98f544b ← NVME\VEN_144D&DEV_A80C&SUBSYS_144DA801 │ af870592-881d-5d31-888c-a37cfb535e73 ← Samsung SSD 990 PRO with Heatsink 1TB │ Apparaat-flags: • Intern apparaat │ • Kan worden bijgewerkt │ • Systeem vereist externe voedingsbron │ • Vereist een herstart na installatie │ • Device is usable for the duration of the update │ • Ondertekende inhoud │ • Can tag for emulation │ ├─TPM: │ Apparaat-ID: 1d8d50a4dbc65618f5c399c2ae827b632b3ccc11 │ Huidige versie: 6.32.0.6 │ Leverancier: Advanced Micro Devices, Inc. (TPM:AMD) │ GUID's: 9305de1c-1e12-5665-81c4-37f8e51219b8 ← TPM\VEN_AMD&DEV_0001 │ 78a291ae-b499-5b0f-8f1d-74e1fefd0b1c ← TPM\VEN_AMD&MOD_AMD │ 65a3fced-b423-563f-8098-bf5c329fc063 ← TPM\VEN_AMD&DEV_0001&VER_2.0 │ 5e704f0d-83cb-5364-8384-f46d725a23b8 ← TPM\VEN_AMD&MOD_AMD&VER_2.0 │ Apparaat-flags: • Intern apparaat │ • Systeem vereist externe voedingsbron │ • Vereist een herstart na installatie │ • Device can recover flash failures │ • Full disk encryption secrets may be invalidated when updating │ • Ondertekende inhoud │ • Can tag for emulation │ └─USB4 host controller: Apparaat-ID: 0da8792914ea5d82ca6735ff342b5a6d25186a6b Samenvatting: Unmatched performance for high-speed I/O Huidige versie: 200011.240521 Leverancier: ASMedia Technology Inc. (THUNDERBOLT:0x00B8, TBT:0x00B8) GUID's: 7d6cf48a-b678-52cb-aba9-5131ff029eff ← THUNDERBOLT\VEN_00B8&DEV_2428 37a14b17-74bc-502e-b0b5-90c0f1ab03b8 ← TBT-00b82428 4dca1ce3-3aab-5c5d-beb5-70ca4047c894 ← TBT-00b82428-controller0-0 Apparaat-flags: • Intern apparaat • Kan worden bijgewerkt • Systeem vereist externe voedingsbron • Device stages updates • Ondertekende inhoud • Can tag for emulation
Het daadwerkelijk updaten doe je met:
michelle@zeil:~$ fwupdmgr update
RaspBerry Pi
sudo rpi-eeprom-update -a
systeem_update_cli_s.1765531049.txt.gz · Laatst gewijzigd: 2025/12/12 09:17 door michelle
