[pacman-dev] -Qu vs -Su

Aaron Griffin aaronmgriffin at gmail.com
Wed Oct 3 11:48:50 EDT 2007


On 10/3/07, Miklos Vajna <vmiklos at frugalware.org> wrote:
> On Tue, Oct 02, 2007 at 05:47:30PM -0500, Dan McGee <dpmcgee at gmail.com> wrote:
> > I agree with Aaron here about the transaction object stuff. We
> > shouldn't need that just to get a list of upgrades.
> >
> > I personally think -Su and -Qu (and their libalpm counterparts) should
> > return the same list of packages to be installed, whether or not they
> > are upgrades or pulled in deps. What is the disadvantage to this? -Qu
> > was meant to be an alternative to canceling an -Su just because you
> > wanted to see what needs upgrading.
>
> sorry for the dumb question but how do you deal with replacements?
>
> it would be ugly to have an interactive -Qu but without asking, you
> can't give a reasonable package list, hm.

Yeah - this is the only problem we have - currently -Qu assumes all
ummm Yes answers, I believe. But that's still wrong.

Any opinions here?




More information about the pacman-dev mailing list