維持系統更新到最新狀態
要維持 KDE Linux 系統更新到最新狀態有兩種方式:利用圖形介面或利用指令列工具。
29 October 2026: Issue affecting system updates
In KDE Linux versions from earlier than 26 October 2026, updates may fail.
If you see errors when attempting to update, then run the following command in a terminal to temporarily disable delta updates:
systemctl stop kde-linux-sysupdated.socket
(Supply your password when prompted, to authorize the operation.)
Then enter this command to perform the update:
updatectl vacuum && updatectl update
On rebooting into the updated system, updates should work correctly again. In Discover, you may see a temporary “Protocol Error” status for system updates: if so, click Refresh and the error should clear.
Graphical
更新透過 Discover 軟體中心應用程式來安裝。Discover 支援處理系統更新、Flatpak 應用程式的更新與附加功能內容的更新。
Discover 會在有可用更新時通知您:點擊更新通知來開啟 Discover 並查看有什麼更新可用。當您準備好更新時,請在 Discover 的更新頁面點擊「更新全部」來進行更新。
應用程式的更新在該應用程式下次啟動時適用;系統更新則會在下次重新開機時生效。
Command-line
您也可以在終端機中利用指令列工具來更新軟體。
要檢查 Flatpak 更新,並選擇是否要安裝它們,請執行 flatpak update。
要檢查系統更新,請執行 updatectl check;要安裝最新的系統更新,請執行 updatectl update。重新啟動系統來套用更新。
如果您需要更詳細的資訊輸出,或者 updatectl 出問題,請改用 run0 /usr/lib/systemd/systemd-sysupdate update。在這個情況,請將輸出值記錄下來,到 https://invent.kde.org/kde-linux/kde-linux/-/issues/new 回報問題,並將輸出值加入問題回報當中。
保留基底系統的舊版本
系統更新時 KDE Linux 基底系統的舊版本會自動保留,以防萬一在出問題的時候可以退回到舊版本。(這個功能並不會保留已安裝的應用程式的舊版本)。
為了節省空間,進行系統更新時會依需要移除舊版本,不過絕對不會移除目前執行中的版本。如果您進行更新時執行中的是系統上最舊的版本,則被移除的會是第二舊的版本。
由 Nate Graham 以 CC-BY-4.0 授權條款所貢獻的文章。