Difference between revisions of "Pacman troubleshooting"

imported>Handy
imported>Aaditya
Line 26: Line 26:
* one or more software packages not having been signed off properly when placed in a repository
* one or more software packages not having been signed off properly when placed in a repository


Where a package has not been signed off properly before being placed in a repository, it will be the responsibility of the developer(s) to correct this. However, as this problem will be more than likely due to a problem with your system's verification of a signiture key, this can be solved in three easy steps. Working net connection is required. Once you have opened your terminal:


Where a package has not been signed off properly before being placed in a repository, it will be the responsibility of the developer(s) to correct this. However, as this problem will be more than likely due to a problem with your system's verification of a signiture key, this can be solved in three easy steps. Once you have opened your terminal:


'''1. Initialize the pacman keyring''' by entering the command:


'''1. Refresh and update the signature keys''' by entering the command:
sudo pacman-key --init


sudo pacman-key --refresh-keys
'''2. Load the signature keys''':


sudo pacman-key --populate archlinux manjaro


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


  sudo pacman-key --populate archlinux manjaro
  sudo pacman-key --refresh-keys


 
'''4. Clear out the software packages downloaded during the aborted installation''' (optional):  
'''3. Clear out the software packages downloaded during the aborted installation''' by entering the command:  


  sudo pacman -Scc
  sudo pacman -Scc


{{Warning|The above command clears the pacman cache completely, and one will not be able to downgrade to a previous version of a package if required. Instead packages that are causing signing errors can be removed individually when upgrading.}}


During this process, you will be asked to confirm that you wish to remove all files from the cache, and remove unused repositories. Enter '''y''' for 'yes' to confirm on both occasions, as it will be necessary to download the software packages again should you wish to re-attempt an installation, having refreshed and re-loaded the signature keys.
After that try running '''sudo pacman -Syu''' to see if the errors were resolved.
 
 
{{tip|Should there still be a problem with installing software packages, then please raise this issue on '''[http://forum.manjaro.org/index.php The Official Manjaro Forum]''' for help and advice.}}
 


== "Configuration file...not recognized" Error ==
== "Configuration file...not recognized" Error ==
Anonymous user