[pacman-dev] -Qu vs -Su
shiningxc at gmail.com
Fri Sep 28 16:50:05 EDT 2007
Since the discussion on http://bugs.archlinux.org/task/7884 is confusing me,
I thought I would bring it here.
The issue reported by Dan is the following :
The -Qu output is different than -Su one, because -Su resolves dependencies,
while -Qu does not.
My first question : is that really an issue?
The description of -Qu says :
-u, --upgrades list all packages that can be upgraded
IMO, a new dependency does not belong to the list of packages that can be
upgraded. So it isn't necessarily a bug if it shows up in -Su, but not in
Also, note that -Qu can't match exactly -Su, because -Su is interactive :
Replace %s with %s/%s? [Y/n]
%s conflicts with %s. Remove %s? [Y/n]
But if you answer no to the conflicts question, pacman just fails and stops
there. So not very interesting.
And the replace question is generally answered by yes.
So answering yes to both questions should give a good picture of what will
More information about the pacman-dev