Difference between revisions of "Pacman troubleshooting"

no edit summary
imported>Philm
imported>Verityproductions
Line 133: Line 133:


  sudo pacman -Syy
  sudo pacman -Syy


== "GPGME error: No data" Error ==
== "GPGME error: No data" Error ==


The most likely cause is an error while downloading one of the package files. This is why signatures and checksums are used. If a download error changed the content of one of the package tarballs, pacman will detect the error and not proceed until it 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.
 
 
=== Basic Resolution Option ===
 
To resolve this issue, first follow the basic procedure provided below. If this does not work, then there is a more comprehensive procedure available.
 
 
'''1. Resynchronise with the Manjaro servers to ensure that everything is up to date''' by entering the command:


  sudo pacman -Syy
  sudo pacman -Syy


... refreshes the package lists even if they seem to be up to date - in other words it redownloads everything.


Cleaning pacman's cache might also help in this situation:
'''2. Clear out the software packages downloaded during the aborted installation''' by entering the command:  


  sudo pacman -Scc
  sudo pacman -Scc


In some rare cases a refreshment and reload of our signatures is needed:
 
3. Re-attempt the aborted download.
 
 
=== Comprehensive Resolution Option ===
 
If the basic proceedure still does not resolve the matter, further steps are available:
 
 
'''1. Refresh and update the signature keys''' by entering the command:


  sudo pacman-key --refresh-keys
  sudo pacman-key --refresh-keys
'''2. Reload the signature keys''' by entering the command:
  sudo pacman-key --populate archlinux manjaro
  sudo pacman-key --populate archlinux manjaro


If this error happens again in a later state we recommend to [[Change to a Different Download Server]].
 
'''3. Clear out the software packages downloaded during the aborted installation''' by entering the command:
 
sudo pacman -Scc
 
 
4. Re-attempt the aborted download.
 
 
If this error still occurs, then it is recommend to [[Change to a Different Download Server]].
 


= See Also =
= See Also =