Skip to content

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?

18 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
18 · 100% up
Kind
Text
ID
1bpfmx

Author

12
posts
57
comments
2
media
View profile

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.

8 points

OK, thank you.

Is this a problem that everyone is having, or is it just my mirrors?

1 points

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.

7 points

I uninstalled packagekit and package-query and pacman updated. Thank you for all your help!

5 points

you can already reinstall packagekit, the 4.1-compatible version is in the repos now.

1 points

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.

3 points

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.

1 points
unknown author3 hidden

package-query is and only is a dependancy of yaourt. If you aren't using yaourt, just remove it.

5 points

Yeah, there's usually a small window of brokenness whenever a major pacman update is released. :)

1 points

If you're confident the conflict doesn't matter, -d will tell pacman to not do dependency checking. I upgraded pacman with pacman -Sd pacman, then a full upgrade with -Syu.

2 points

All I did was uninstall yaourt and dependencies, update pacman, then re-installed yaourt. Works fine.

1 points
pacman -Rdd package-query
pacman -S pacman
cd /tmp/
wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar xvzf package-query.tar.gz
cd package-query
makepkg -s
pacman -U package-query-1.2-2-x86_64.pkg.tar.xz
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.