[pacman-dev] [patch] resolvedeps cleanup + pactest

Xavier shiningxc at gmail.com
Tue Jul 10 15:39:02 EDT 2007


On Tue, Jul 10, 2007 at 09:15:12PM +0200, ngaba at petra.hos.u-szeged.hu wrote:
> > Any reason the patch seems to have double line spacing?
> >
> > By the way, creating a patch with GIT is pretty simple and formats it
> > quite nicely without having to struggle with diff options.
> Sorry, I have no net at home, no git/any useable app here (this is a 
> windows machine). Probably this stupid webmail client inserted extra 
> lines, sorry, please delete them (I can compress them + resend, if 
> needed)
> 

ah too bad, I find it pretty hard to read the patch with these extra new lines.

> Back to pacman:
> There is a problem with the old/new resolvedeps: this is not 
> deterministic (multiple provision) and sometimes one choice is better 
> than an other one: for example "choice A" induces a package conflict, 
> and choice B would solve the problem and would install the required 
> package (and its dependencies) but pacman is not clever enough to find 
> "choice B"...
> Bye, ngaba
> 

I guess this is a reference to :
628     /*TODO this autoresolves the first 'provides' package... we should fix this
629      * somehow */

Looks like pacman could indeed be smarter in the case you describe :)




More information about the pacman-dev mailing list