Difference between revisions of "Pacman troubleshooting"

Marked this version for translation
(links for mirror.easyname.at)
(Marked this version for translation)
Line 47: Line 47:
{{UserCmd|command=sudo rm -f /var/lib/pacman/sync/*}}
{{UserCmd|command=sudo rm -f /var/lib/pacman/sync/*}}


<!--T:92-->
'''Download the databases and update the system'''
'''Download the databases and update the system'''
{{UserCmd|command=sudo pacman -Syyu}}
{{UserCmd|command=sudo pacman -Syyu}}
Line 123: Line 124:
{{BoxInfo|Info| GPG check errors can be ignored, since it only downloads the keyring packages.
{{BoxInfo|Info| GPG check errors can be ignored, since it only downloads the keyring packages.


<!--T:93-->
Those running ARM may also need to download archlinuxarm-keyring and manjaro-arm-keyring.
Those running ARM may also need to download archlinuxarm-keyring and manjaro-arm-keyring.


<!--T:94-->
}}
}}
{{UserCmd|command=mkdir -pv $HOME/.cache/pkg/ && sudo pacman -Syw archlinux-keyring manjaro-keyring --cachedir $HOME/.cache/pkg/}}
{{UserCmd|command=mkdir -pv $HOME/.cache/pkg/ && sudo pacman -Syw archlinux-keyring manjaro-keyring --cachedir $HOME/.cache/pkg/}}
Line 144: Line 147:
{{UserCmd|command=sudo pacman -Sc}}
{{UserCmd|command=sudo pacman -Sc}}


<!--T:95-->
'''7. Remove the custom package folder:''' (optional):  
'''7. Remove the custom package folder:''' (optional):  
{{UserCmd|command=sudo rm -Rf $HOME/.cache/pkg/}}
{{UserCmd|command=sudo rm -Rf $HOME/.cache/pkg/}}
Line 245: Line 249:
If the basic proceedure still does not resolve the matter, further steps are available:
If the basic proceedure still does not resolve the matter, further steps are available:


<!--T:96-->
1. Resynchronise with the Manjaro servers to ensure that everything is up to date by entering the command:
1. Resynchronise with the Manjaro servers to ensure that everything is up to date by entering the command:
{{UserCmd|command=sudo pacman -Syy}}
{{UserCmd|command=sudo pacman -Syy}}
translator
11,127

edits