8,560
edits
(Updating to match new version of source page) Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) |
||
Line 56: | Line 56: | ||
==Avoiding Partial Updates== | ==Avoiding Partial Updates== | ||
{{ | {{BoxDanger|danger|Partial updates are not supported under any circumstances}} | ||
It is of critical importance to ensure you don't end up in a state where your system is partially upgraded.<br /> | It is of critical importance to ensure you don't end up in a state where your system is partially upgraded.<br /> | ||
It is not uncommon for systems in partially updated state to end up in a critical failure state.<br /> | It is not uncommon for systems in partially updated state to end up in a critical failure state.<br /> | ||
Here are some | Here are some rules to help you avoid this undesired situation. | ||
* | * Don’t update the local package database (metadata) without also updating the system | ||
* Don't | * You may install a single package using {{ic|pacman -S <pkgname>}} but this may yield a 404 error if your metadata is not current | ||
* Don't use {{ic|pacman -Sy}}, {{ic|pacman -Syy}}, {{ic|pacman -Syuw}} as this will update the metadata but not sync the packages to your system | |||
* Don't add packages to pacman's or pamac's ignore list | * Always sync metadata and packages together {{ic|pacman -Syu}} | ||
* If you just want to check to see what updates are available use the command {{ic|checkupdates}}. | * Don't add packages to pacman's or pamac's ignore list | ||
* When [[Switching_Branches|switching branches]] or [[Pacman-mirrors|switching mirrors]] always | * If you just want to check to see what updates are available use the command {{ic|checkupdates}}. This provides a safe way to check for upgrades to installed packages without pulling metadata at the same time | ||
* When [[Switching_Branches|switching branches]] or [[Pacman-mirrors|switching mirrors]] always sync your systems metadata and packages using {{ic|pamac update}} or {{ic|pacman -Syu}} | |||
* If you get 404 in connection with a branch switch you may force sync metadata by doubling the '''y''' argument {{ic|pacman -Syyu}} | |||
==Removing Orphans== | ==Removing Orphans== | ||
Line 123: | Line 125: | ||
* The [[Pacman_Overview|Pacman wiki article]] | * The [[Pacman_Overview|Pacman wiki article]] | ||
* The [[Pamac|Pamac wiki article]] | * The [[Pamac|Pamac wiki article]] | ||
* A forum post on the archived forums on [https://archived.forum.manjaro.org/t/pacsave-pacnew-how-to-manage-those-reasonably/50968 managing pacsave and pacnew files] | * A forum post on the archived forums on [https://web.archive.org/web/20211122025957/https://archived.forum.manjaro.org/t/pacsave-pacnew-how-to-manage-those-reasonably/50968 managing pacsave and pacnew files] | ||
<br /> | <br /> | ||
[[Category:Contents Page{{#translation:}}]] | [[Category:Contents Page{{#translation:}}]] |