--- Nick Guenther <[EMAIL PROTECTED]> wrote: > On 11/19/07, Juan Miscaro <[EMAIL PROTECTED]> wrote: > > --- Marc Espie <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Nov 19, 2007 at 08:21:17AM -0500, Juan Miscaro wrote: > > > > However the second one (PKG_PATH_LAN2) is never consulted. If > I > > > remove > > > > the first one then packages are found and installed with no > > > problem. > > > > > > > > Why is this happening? > > > > > > Because it's designed that way. > > > > > > The second entry is only consulted if a matching package is not > found > > > in > > > the first repository. It works like a linker path: pkg_add only > looks > > > at entries while it did not find a suitable candidate. > > > > > > But the first repository does not contain a candidate. That's what > I'm > > saying. > > > > > > > The intention is that you should put your preferred repository at > the > > > front, > > > and less wanted stuff later: if pkg_add finds something in the > > > preferred > > > repository, it won't even look at the rest. > > > > > > So something is apparently wrong then. > > I saw this bug two years ago when I first started with OpenBSD. I > assumed I was doing something wrong and forgot about it. > > things to try: are you sure the second repository has the package you > need?
Well like I posted, if I remove the first repository the package installs fine. // juan Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://mail.yahoo.ca