Difference between revisions of "Pacman troubleshooting/en"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 23: Line 23:


'''Download the databases and update the system'''
'''Download the databases and update the system'''
{{UserCmd|command=sudo pacman -Syyu}}
{{UserCmd|command=sudo pacman -Syu}}


== "Unable to lock database" Error ==
== "Unable to lock database" Error ==
Line 80: Line 80:
{{UserCmd|command=sudo pacman -Sc}}
{{UserCmd|command=sudo pacman -Sc}}


After that try running '''sudo pacman -Syyu''' to see if the errors were resolved.
After that try running '''sudo pacman -Syu''' to see if the errors were resolved.


== Conflicting files - ''FILENAME'' exists in filesystem ==
== Conflicting files - ''FILENAME'' exists in filesystem ==
Line 128: Line 128:


== "GPGME error: No data" Error ==
== "GPGME error: No data" Error ==
{{Warning|This section duplicates information from [[Pacman_troubleshooting#Errors_about_Keys]] consider removing duplicated information}}


The most likely cause of this issue is that an error or corruption has been detected by ''pacman'' in one or more software packages being downloaded. Package signatures and checksums are used to verify the validity of downloaded software, and should they fail, the installation attempt will be aborted to protect your system until the matter is resolved.
The most likely cause of this issue is that an error or corruption has been detected by ''pacman'' in one or more software packages being downloaded. Package signatures and checksums are used to verify the validity of downloaded software, and should they fail, the installation attempt will be aborted to protect your system until the matter is resolved.
Line 139: Line 141:
1. Download the package databases and update your system:
1. Download the package databases and update your system:


  {{UserCmd|command=sudo pacman -Syyu}}
  {{UserCmd|command=sudo pacman -Syu}}


2. Clear out the software packages downloaded during the aborted installation by entering the command:  
2. Clear out the software packages downloaded during the aborted installation by entering the command:  
Line 152: Line 154:


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 -Sy}}


2. Refresh and update the signature keys by entering the command:
2. Refresh and update the signature keys by entering the command:
Line 166: Line 168:


If the error still persists, then it is recommended to '''[[Change to a Different Download Server|Change to a Different Download Server]]'''.
If the error still persists, then it is recommended to '''[[Change to a Different Download Server|Change to a Different Download Server]]'''.


== "keyserver refresh failed: No dirmngr" Error ==
== "keyserver refresh failed: No dirmngr" Error ==
8,252

edits