Difference between revisions of "Pacman troubleshooting"

improved formatting
imported>Aaditya
imported>Excalibur1234
(improved formatting)
Line 1: Line 1:
__TOC__
= Software Installation =
= Software Installation =


Various issues relating to the download and installation of software packages from the Manjaro repositories are dealt with here.
Various issues relating to the download and installation of software packages from the Manjaro repositories are dealt with here.


== "Unable to lock database" Error ==
== "Unable to lock database" Error ==
Line 49: Line 54:


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


== "Configuration file...not recognized" Error ==
== "Configuration file...not recognized" Error ==
Line 58: Line 64:


See the [[Change to a Different Download Server]] guide for more detailed information on how to correctly select and enable another Manjaro server for downloading.
See the [[Change to a Different Download Server]] guide for more detailed information on how to correctly select and enable another Manjaro server for downloading.


== "GPGME error: No data" Error ==
== "GPGME error: No data" Error ==
Line 72: Line 79:


  sudo pacman -Syy
  sudo pacman -Syy


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:  


  sudo pacman -Sc
  sudo pacman -Sc


3. Re-attempt the aborted download.
3. Re-attempt the aborted download.
Line 90: Line 95:


  sudo pacman -Syy
  sudo pacman -Syy


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


  sudo pacman-key --refresh-keys
  sudo pacman-key --refresh-keys


3. Reload the signature keys by entering the command:
3. Reload the signature keys by entering the command:


  sudo pacman-key --populate archlinux manjaro
  sudo pacman-key --populate archlinux manjaro


4. Clear out the software packages downloaded during the aborted installation by entering the command:  
4. Clear out the software packages downloaded during the aborted installation by entering the command:  


  sudo pacman -Sc
  sudo pacman -Sc


5. Re-attempt the aborted download.
5. Re-attempt the aborted download.