[{"data":1,"prerenderedAt":513},["ShallowReactive",2],{"\u002Fdocs\u002Fusage\u002Fupdates-and-maintenance":3},{"id":4,"title":5,"body":6,"description":504,"extension":505,"meta":506,"navigation":507,"path":509,"seo":510,"stem":511,"__hash__":512},"docs\u002Fdocs\u002Fusage\u002Fupdates-and-maintenance.md","Updates and Maintenance",{"type":7,"value":8,"toc":491},"minimark",[9,13,17,22,27,35,60,63,70,74,142,151,155,162,168,172,270,274,285,312,315,319,326,368,383,387,394,397,412,415,419,475,479,487],[10,11,5],"h1",{"id":12},"updates-and-maintenance",[14,15,16],"p",{},"LeiOS needs very little care. Install updates regularly, keep a backup, and your system stays fast\nand safe for years. You never have to reinstall LeiOS to get a newer release: new LeiOS releases\narrive as normal updates.",[18,19,21],"h2",{"id":20},"installing-updates","Installing updates",[23,24,26],"h3",{"id":25},"with-discover","With Discover",[14,28,29,30,34],{},"When updates are available, an ",[31,32,33],"strong",{},"update icon"," appears in the system tray.",[36,37,38,50,57],"ol",{},[39,40,41,42,45,46,49],"li",{},"Click it, or open ",[31,43,44],{},"Discover"," and go to ",[31,47,48],{},"Updates",".",[39,51,52,53,56],{},"Click ",[31,54,55],{},"Update All",". Enter your password if asked.",[39,58,59],{},"If Discover says a restart is needed, restart when it suits you.",[14,61,62],{},"Discover updates everything in one go: the system and its apps from Debian and LeiOS, your\nFlatpak apps, and device firmware where available. Snap apps update themselves in the background.",[14,64,65,66,49],{},"Choose how often LeiOS checks for updates and notifies you in ",[67,68,69],"em",{},"System Settings → Software Update",[23,71,73],{"id":72},"in-the-terminal","In the terminal",[75,76,81],"pre",{"className":77,"code":78,"language":79,"meta":80,"style":80},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sudo apt update          # fetch the lists of available updates\nsudo apt full-upgrade    # install them\nflatpak update           # update Flatpak apps\nsudo snap refresh        # update Snap apps now, instead of waiting for the automatic update\n","bash","",[82,83,84,104,117,128],"code",{"__ignoreMap":80},[85,86,89,93,97,100],"span",{"class":87,"line":88},"line",1,[85,90,92],{"class":91},"sBMFI","sudo",[85,94,96],{"class":95},"sfazB"," apt",[85,98,99],{"class":95}," update",[85,101,103],{"class":102},"sHwdD","          # fetch the lists of available updates\n",[85,105,107,109,111,114],{"class":87,"line":106},2,[85,108,92],{"class":91},[85,110,96],{"class":95},[85,112,113],{"class":95}," full-upgrade",[85,115,116],{"class":102},"    # install them\n",[85,118,120,123,125],{"class":87,"line":119},3,[85,121,122],{"class":91},"flatpak",[85,124,99],{"class":95},[85,126,127],{"class":102},"           # update Flatpak apps\n",[85,129,131,133,136,139],{"class":87,"line":130},4,[85,132,92],{"class":91},[85,134,135],{"class":95}," snap",[85,137,138],{"class":95}," refresh",[85,140,141],{"class":102},"        # update Snap apps now, instead of waiting for the automatic update\n",[14,143,144,147,148,49],{},[82,145,146],{},"full-upgrade"," also installs new dependencies and removes packages that conflict with an update,\nwhich is what you want on LeiOS. Read the list of changes APT shows before you confirm, especially\npackages it wants to ",[31,149,150],{},"remove",[23,152,154],{"id":153},"how-often","How often?",[14,156,157,158,161],{},"Install updates ",[31,159,160],{},"at least once a week",". Security fixes from Debian arrive as soon as they are\nready, and they only protect you once they are installed.",[163,164,165],"note",{},[14,166,167],{},"After updates to the Linux kernel, the graphics driver or core system parts, restart your computer\nso the new versions are used. Discover tells you when a restart is needed.",[18,169,171],{"id":170},"what-arrives-through-updates","What arrives through updates",[173,174,175,191],"table",{},[176,177,178],"thead",{},[179,180,181,185,188],"tr",{},[182,183,184],"th",{},"Update",[182,186,187],{},"Comes from",[182,189,190],{},"How often",[192,193,194,206,226,237,248,259],"tbody",{},[179,195,196,200,203],{},[197,198,199],"td",{},"Security fixes and bug fixes for the base system",[197,201,202],{},"Debian 13",[197,204,205],{},"As soon as they are released",[179,207,208,211,219],{},[197,209,210],{},"New LeiOS releases, LeiOS packages and themes",[197,212,213,214],{},"The ",[215,216,218],"a",{"href":217},"\u002Fdocs\u002Fusage\u002Fpackage-management","LeiOS repository",[197,220,221,222],{},"With every LeiOS release on your ",[215,223,225],{"href":224},"\u002Fdocs\u002Fusage\u002Frelease-channels","channel",[179,227,228,231,234],{},[197,229,230],{},"Firefox and Firefox Developer Edition",[197,232,233],{},"Mozilla's repository",[197,235,236],{},"With every Firefox release",[179,238,239,242,245],{},[197,240,241],{},"Flatpak apps",[197,243,244],{},"Flathub",[197,246,247],{},"Whenever the app makers release",[179,249,250,253,256],{},[197,251,252],{},"Snap apps",[197,254,255],{},"The Snap Store",[197,257,258],{},"Automatically, a few times a day",[179,260,261,264,267],{},[197,262,263],{},"Firmware for supported devices",[197,265,266],{},"The vendors, through LVFS",[197,268,269],{},"When vendors publish it",[18,271,273],{"id":272},"firmware-updates","Firmware updates",[14,275,276,277,284],{},"LeiOS can update the firmware of supported devices, such as laptop BIOS\u002FUEFI, docks, SSDs and\nmice, from the ",[215,278,283],{"href":279,"rel":280,"target":282},"https:\u002F\u002Ffwupd.org",[281],"nofollow","_blank","Linux Vendor Firmware Service",". Discover lists\nfirmware updates together with all others. In the terminal:",[75,286,288],{"className":77,"code":287,"language":79,"meta":80,"style":80},"fwupdmgr refresh\nfwupdmgr get-updates\nfwupdmgr update\n",[82,289,290,298,305],{"__ignoreMap":80},[85,291,292,295],{"class":87,"line":88},[85,293,294],{"class":91},"fwupdmgr",[85,296,297],{"class":95}," refresh\n",[85,299,300,302],{"class":87,"line":106},[85,301,294],{"class":91},[85,303,304],{"class":95}," get-updates\n",[85,306,307,309],{"class":87,"line":119},[85,308,294],{"class":91},[85,310,311],{"class":95}," update\n",[14,313,314],{},"Keep laptops on power while firmware is updated.",[18,316,318],{"id":317},"free-up-disk-space","Free up disk space",[14,320,321,322,325],{},"Dolphin shows the free space of the current drive in its status bar, and ",[82,323,324],{},"df -h"," lists all\ndrives. To free space:",[75,327,329],{"className":77,"code":328,"language":79,"meta":80,"style":80},"sudo apt autoremove      # remove packages nothing needs anymore, such as old kernels\nsudo apt clean           # delete downloaded package files\nflatpak uninstall --unused   # remove Flatpak runtimes no app uses\n",[82,330,331,343,355],{"__ignoreMap":80},[85,332,333,335,337,340],{"class":87,"line":88},[85,334,92],{"class":91},[85,336,96],{"class":95},[85,338,339],{"class":95}," autoremove",[85,341,342],{"class":102},"      # remove packages nothing needs anymore, such as old kernels\n",[85,344,345,347,349,352],{"class":87,"line":106},[85,346,92],{"class":91},[85,348,96],{"class":95},[85,350,351],{"class":95}," clean",[85,353,354],{"class":102},"           # delete downloaded package files\n",[85,356,357,359,362,365],{"class":87,"line":119},[85,358,122],{"class":91},[85,360,361],{"class":95}," uninstall",[85,363,364],{"class":95}," --unused",[85,366,367],{"class":102},"   # remove Flatpak runtimes no app uses\n",[14,369,370,371,374,375,378,379,382],{},"Also check your ",[31,372,373],{},"Downloads"," folder and empty the ",[31,376,377],{},"Trash"," in Dolphin. To find what takes up the\nmost space, install ",[31,380,381],{},"Filelight"," from Discover.",[18,384,386],{"id":385},"back-up-your-files","Back up your files",[14,388,389,390,393],{},"LeiOS keeps your system running, but only a backup protects your photos, documents and projects\nfrom a broken disk, a lost laptop or an accident. Keep copies of your important files in at least\none other place, ideally an external drive ",[31,391,392],{},"and"," cloud storage.",[14,395,396],{},"Two good tools, both one click away in Discover:",[398,399,400,406],"ul",{},[39,401,402,405],{},[31,403,404],{},"Déjà Dup Backups"," (from Flathub) backs up your home folder on a schedule to an external drive,\na network share or cloud storage, and restores single files or everything.",[39,407,408,411],{},[31,409,410],{},"Timeshift"," (from Debian) takes snapshots of the system itself, so you can roll back a broken\nupdate. It doesn't replace a backup of your personal files.",[14,413,414],{},"Test your backup once by restoring a file. A backup you've never restored from is only a hope.",[18,416,418],{"id":417},"habits-that-keep-leios-healthy","Habits that keep LeiOS healthy",[398,420,421,431,437,460,469],{},[39,422,423,426,427,430],{},[31,424,425],{},"Install software from Discover, Flathub and Debian."," Every extra repository or downloaded\n",[82,428,429],{},".deb"," is a chance for conflicts. Never add Ubuntu PPAs or repositories of other Debian versions.",[39,432,433,436],{},[31,434,435],{},"Don't mix in Debian testing or unstable."," LeiOS is based on Debian 13 \"trixie\" and expects\nits packages.",[39,438,439,442,443,446,447,450,451,454,455,49],{},[31,440,441],{},"Read before you confirm."," If APT or Discover wants to remove many packages, especially the\ndesktop (",[82,444,445],{},"plasma-desktop",", ",[82,448,449],{},"task-kde-desktop",") or LeiOS packages (",[82,452,453],{},"leios.*","), stop and ask on\n",[215,456,459],{"href":457,"rel":458,"target":282},"https:\u002F\u002Fdiscord.gg\u002F8YC5BXjCc5",[281],"Discord",[39,461,462,465,466,468],{},[31,463,464],{},"Don't run commands you don't understand",", especially with ",[82,467,92],{},", from random websites or\nvideos.",[39,470,471,474],{},[31,472,473],{},"Restart now and then."," Some updates only take effect after a restart.",[18,476,478],{"id":477},"when-an-update-goes-wrong","When an update goes wrong",[14,480,481,482,486],{},"See ",[215,483,485],{"href":484},"\u002Fdocs\u002Fusage\u002Ftroubleshooting#updates-fail","Troubleshooting",": it covers interrupted updates,\nlocked package managers, and starting an older kernel if a new one causes problems.",[488,489,490],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":80,"searchDepth":106,"depth":106,"links":492},[493,498,499,500,501,502,503],{"id":20,"depth":106,"text":21,"children":494},[495,496,497],{"id":25,"depth":119,"text":26},{"id":72,"depth":119,"text":73},{"id":153,"depth":119,"text":154},{"id":170,"depth":106,"text":171},{"id":272,"depth":106,"text":273},{"id":317,"depth":106,"text":318},{"id":385,"depth":106,"text":386},{"id":417,"depth":106,"text":418},{"id":477,"depth":106,"text":478},"Keep LeiOS updated with Discover or APT, update firmware, free up disk space, back up your files, and avoid the mistakes that break systems.","md",{},{"title":508},"Updates & Maintenance","\u002Fdocs\u002Fusage\u002Fupdates-and-maintenance",{"title":5,"description":504},"docs\u002Fusage\u002Fupdates-and-maintenance","qdSptAw59QQG61uCF89kfB9BvBB3RQUnDvuFniFnpWM",1794173486273]