Gå till innehåll

Håll systemet uppdaterat

There are two methods of keeping a KDE Linux system up to date: graphical, and using command-line tools.

Graphical

Updates are done through the Discover software center app. Discover handles both system updates as well as updates for Flatpak-based apps and add-on content.

Discover meddelar dig när uppdateringar finns tillgängliga. Klicka bara på underrättelsen för att starta Discover och se vad som är tillgängligt. Klicka på Uppdatera alla på uppdateringssidan i Discover när du är redo att uppdatera.

Updates to apps take effect the next time the updated apps are launched, while system updates take effect the next time the machine is restarted.

Command-line

Alternativt kan du uppdatera programvara med kommandoradsverktyg i en terminal.

Check for Flatpak updates and interactively decide to install them or not using flatpak update.

Check for system updates using updatectl check, and install the latest one with updatectl update. Restart the system to apply the update.

If greater verbosity is needed, or updatectl is not working, use run0 /usr/lib/systemd/systemd-sysupdate update instead. In these cases, record the output and enter it into a bug report at https://invent.kde.org/kde-linux/kde-linux/-/issues/new.

Felsökning och kända problem

If updates fail between 30% and 40% with “Input/output error” or “Invalid argument”, this is likely to be a known issue related to updates being advertised as available before all update servers have fully synced.

Alternativ för att undvika problemet inkluderar:

  • Vänta en timme eller två.
  • Set KDE_LINUX_SYSUPDATED_ENABLE_STORE=1 somewhere in the environment (for example in the /etc/environment file), and then restart.

Artikel bidragen av med licens CC-BY-4.0.