Last active
November 11, 2025 11:32
-
-
Save kbsali/478328c90de402118d376269a5ba6926 to your computer and use it in GitHub Desktop.
PAMAC update "Error: Failed to prepare transaction: invalid or corrupted database" on ArchLinux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```bash | |
| pamac update --aur | |
| ... | |
| Error: Failed to prepare transaction: invalid or corrupted database | |
| sudo vim /etc/pacman.conf | |
| ``` | |
| ``` | |
| # /etc/pacman.conf | |
| # update SigLevel from "Required DatabaseOptional" to "Required DatabaseNever" | |
| ... | |
| SigLevel = Required DatabaseNever | |
| ``` | |
| ```bash | |
| sudo pacman -Syyu | |
| pamac update | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment