Bart,
In the case where the dependencies have been determined by evaluating
the packaging constraints, then yes, it probably wouldn't make sense to
report an error.

However, in the case where the user has explicitly requested that a pair
of packages with the same name and different version be installed, it
seems like it might be helpful to report some kind of error.  I'm not
saying we have to do this now.

-j

On Tue, Aug 05, 2008 at 12:55:41PM -0700, Bart Smaalders wrote:
> Tom Mueller wrote:
> > The existing code silently ignores:
> > 
> > pkg install [EMAIL PROTECTED] [EMAIL PROTECTED]
> > 
> > I'm making the new code do the same thing for:
> > 
> > pkg install [EMAIL PROTECTED] [EMAIL PROTECTED]
> > 
> > Are you saying that the existing code is incorrect for the first case?  
> > Maybe that should be a different bug?
> > 
> > Tom
> 
> The same thing can occur if a package is added that contains
> a dependency on an old package at the same time that another
> package is added w/ a dependency on a newer one...
> 
> The code silently eliminates duplicates & redundant packages.
> 
> - Bart
> -- 
> Bart Smaalders                        Solaris Kernel Performance
> [EMAIL PROTECTED]             http://blogs.sun.com/barts
> "You will contribute more with mercurial than with thunderbird."
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to