Difference between revisions of "Pacman troubleshooting"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 21: Line 21:
During the installation process, once any software packages have been downloaded, your system will first check their signature keys to ensure that they are authentic prior to actually installing them. If a signature key cannot be verified for any reason, then the installation process will be aborted. This problem will usually occur due to:
During the installation process, once any software packages have been downloaded, your system will first check their signature keys to ensure that they are authentic prior to actually installing them. If a signature key cannot be verified for any reason, then the installation process will be aborted. This problem will usually occur due to:


* One or more signature keys being revoked, changed, corrupted, or out of date  
* one or more signature keys being revoked, changed, corrupted, or out of date  
* 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, 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:
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:




Line 30: Line 30:


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


'''2.''' Reload the signature keys by entering the command:
'''2.''' Reload the signature keys by entering the command:


  sudo pacman-key --populate
  sudo pacman-key --populate


'''3.''' Clear out the software packages downloaded during the aborted installation. It will be necessary to download them again for installation, having refreshed and re-loaded the signature keys. To do so, enter the command:
'''3.''' Clear out the software packages downloaded during the aborted installation. It will be necessary to download them again for installation, having refreshed and re-loaded the signature keys. To do so, enter the command:
Line 40: Line 42:


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. Once complete, you can then re-attempt your intended installation.  
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. Once complete, you can then re-attempt your intended installation.  


{{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.}}
{{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.}}