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) Tags: Mobile web edit Mobile edit |
||
Line 21: | Line 21: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
To force a full refresh of the package database and update all packages on the system. | To force a full refresh of the package database and update all packages on the system. This is recommended when [[Special:MyLanguage/Switching_Branches|switching branches]] or [[Special:MyLanguage/Pacman-mirrors|switching mirrors]] to avoid inconsistent metadata. | ||
</div> | </div> | ||
{{UserCmd|command=sudo pacman -Syyu}} | {{UserCmd|command=sudo pacman -Syyu}} | ||
Line 32: | Line 32: | ||
To install the packages with the broken dependency or with the deadlock dependency. Two or more packages need to be updated and first is blocking second and second is blocking first one. Use carefully! | To install the packages with the broken dependency or with the deadlock dependency. Two or more packages need to be updated and first is blocking second and second is blocking first one. Use carefully! | ||
{{UserCmd|command=sudo pacman -Syudd}} | {{UserCmd|command=sudo pacman -Syudd}} | ||
=搜索软件包= | =搜索软件包= |