Cannot upgrade to pacman 4.1
I ran pacman -Syyu and I was prompted to upgrade pacman. Hit y,
"pacman-contrib in conflict, remove?" y "unable to remove"
sudo pacman -Rsc pacman-contrib sudo pacman -Syyu
"update pacman?" y "package-query: requires pacman<4.1"
I tried to download pacman from the arch linux website and install it with pacman -U but got the same error.
How can I update pacman?
About this post
- Posted
- Archived
- Score
- 18 · 100% up
- Kind
- Text
- ID
- 1bpfmx
17 comments
You would have to either uninstall package-query, and also yaourt which depends on it, or wait until package-query has been updated.
OK, thank you.
Is this a problem that everyone is having, or is it just my mirrors?
package-query isn't in the repos, so, no, it's not a problem with the mirrors.
I updated to 4.1 just fine on my machines.
I uninstalled packagekit and package-query and pacman updated. Thank you for all your help!
you can already reinstall packagekit, the 4.1-compatible version is in the repos now.
I upgraded package-query two hours ago, pacman and yaourt working fine now.
I got it working this morning as well.
I assume you are using yaourt? You need to either wait until package-query is updated for pacman 4.1 or use package-query-git. Either way you will have to rebuild it manually, since yaourt won't work until you do.
No, I am not using yaourt for this. I just update packagekit and now the error is saying the same thing for it as package-query. Hopefully the rest of updates are coming soon. Thanks for the help.
package-query is and only is a dependancy of yaourt. If you aren't using yaourt, just remove it.
Yeah, there's usually a small window of brokenness whenever a major pacman update is released. :)
If you're confident the conflict doesn't matter,
-dwill tell pacman to not do dependency checking. I upgraded pacman withpacman -Sd pacman, then a full upgrade with-Syu.All I did was uninstall yaourt and dependencies, update pacman, then re-installed yaourt. Works fine.