|
|
Line 21: |
Line 21: |
|
| |
|
| <!--T:6--> | | <!--T:6--> |
| To update the package database and update all packages on the system
| | Update the package database and update all packages on the system |
| {{UserCmd|command=sudo pacman -Syu}} | | {{UserCmd|command=sudo pacman -Syu}} |
|
| |
|
|
| |
| <!--T:7-->
| |
| To force a full refresh of the package database and update all packages on the system. It may necessary when [[Special:MyLanguage/Switching_Branches|switching branches]] or [[Special:MyLanguage/Pacman-mirrors|switching mirrors]] to avoid inconsistent metadata. Inconsistent metadata will be obvious if you get '''404 Not Found''' for certain packages.
| |
| </translate>
| |
| {{UserCmd|command=sudo pacman -Syyu}}
| |
|
| |
| <translate>
| |
| <!--T:8--> | | <!--T:8--> |
| To force a full refresh of the package database, update all packages on the system and allow packages to be downgraded. Downgrading should be only be needed when switching to an older branch. For example, switching from Testing to Stable.</translate>
| | Update all packages on the system and allow packages to be downgraded. Downgrading should be only be needed when switching to an older branch. For example, switching from Testing to Stable.</translate> |
| {{UserCmd|command=sudo pacman -Syyuu}} | | {{UserCmd|command=sudo pacman -Syuu}} |
| | |
| 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}}
| |
|
| |
|
| <translate> | | <translate> |