Difference between revisions of "Pacman troubleshooting"
→update "Failed to commit transaction (invalid or corrupted package)" Error
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: | |||
'''1. Initialize the pacman keyring''' by entering the command: | |||
sudo pacman-key --init | |||
'''2. Load the signature keys''': | |||
sudo pacman-key --populate archlinux manjaro | |||
''' | '''3. Refresh and update the signature keys''': | ||
sudo pacman-key -- | sudo pacman-key --refresh-keys | ||
'''4. Clear out the software packages downloaded during the aborted installation''' (optional): | |||
''' | |||
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.}} | |||
After that try running '''sudo pacman -Syu''' to see if the errors were resolved. | |||
== "Configuration file...not recognized" Error == | == "Configuration file...not recognized" Error == |