My updates broke again and remained broken for quite a while. I got a keyring issue and the same error message as before, namely:
error: *package* : signature from "User <email@example.com>" is invalid error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occured, no packages were upgraded.
Or something to that effect. I just left it since I had more pressing matters at hand, but today I finally decided to RTFM.
It started working, then gave me this error: error: failed to commit transaction (conflicting files) *package* : */path/to/file* exists in filesystem Errors occurred, no packages were upgraded.
So I tried this, from the Pacman page on the wiki: The problem is usually trivial to solve. A safe way is to first check if another package owns the file (pacman -Qo /path/to/file). If the file is owned by another package, [file a bug report](https://wiki.archlinux.org/index.php/Reporting_bug_guidelines). If the file is not owned by another package, rename the file which 'exists in filesystem' and re-issue the update command. If all goes well, the file may then be removed.
That worked. What was wrong? Seems like a combination of my keys being out of date and some dodgy files lying where they should not have. Fortunately, nobody owned those files so I could rename them and update. Perhaps someone else experienced the same issue, so here’s a possible solution for you.
You’re welcome! This is a tricky one because it’s not too clear what is wrong or what fixed it.
In my case, I mapped error messages to suggestions in the wiki. I can see what Altman was saying above, it’s perhaps the best place to start if you’re having other issues that are similar but not exactly the same.
It’s possible. .05 and above are slightly different from earlier versions and seem to have issues with broken or missing keyrings. Especially those that belong to Matt and Nate. Fixing the keyrings now will save a lot of headaches later.
I still appreciate the input, since according to my understanding, I just reinstalled the entire keyring parts. That did work, but it doesn’t tell me specifically what was wrong. I know in general that it was a keyring issue, and that reinstalling everything worked.