On 3/7/07, Peter <[EMAIL PROTECTED]> wrote:

Yes, that works.  Except that I get the situation that I want to avoid:
missing dependencies.  That's why I want that 2nd FTP site in my PKG_PATH:

parsing postfix-2.3.2
Dependencies for postfix-2.3.2 resolve to: pcre-6.4p1 (todo: pcre-6.4p1)
Error from ftp://192.168.3.11/OpenBSD/4.0/packages/:
550 Failed to open file.
postfix-2.3.2:Can't find pcre-6.4p1
/usr/sbin/pkg_add: pcre-6.4p1:Fatal error

Thanks for any help.

Yeah... I think I tried to do something like this too (not with a
local mirror, but with multiple mirrors) and it never worked.

Wait, I'm silly, I know what's wrong. You're misreading the error
messages (pkg_add doesn't make errors too readable). The "error from"
is being given by ftp(1), but it's ignorable. The next error is from
pkg_add and it's saying that you haven't been specific enough: there's
more than one possible package.

Use the -i flag (I always run `pkg_add -iv ...`) to make it prompt you
for which.

-Nick

Reply via email to