From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 20:02:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68CDD10656BA for ; Thu, 26 Mar 2009 20:02:47 +0000 (UTC) (envelope-from llc2w@virginia.edu) Received: from fork4.mail.virginia.edu (fork4.mail.Virginia.EDU [128.143.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 212728FC14 for ; Thu, 26 Mar 2009 20:02:47 +0000 (UTC) (envelope-from llc2w@virginia.edu) Received: from localhost (localhost [127.0.0.1]) by fork4.mail.virginia.edu (Postfix) with ESMTP id 2016811B09C for ; Thu, 26 Mar 2009 15:37:06 -0400 (EDT) Received: from fork4.mail.virginia.edu ([127.0.0.1]) by localhost (fork4.mail.virginia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18483-05 for ; Thu, 26 Mar 2009 15:37:06 -0400 (EDT) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by fork4.mail.virginia.edu (Postfix) with ESMTP id D50AD11B0B3 for ; Thu, 26 Mar 2009 15:37:05 -0400 (EDT) Received: by wf-out-1314.google.com with SMTP id 26so927511wfd.0 for ; Thu, 26 Mar 2009 12:37:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.166.10 with SMTP id t10mr500792wfo.210.1238096225709; Thu, 26 Mar 2009 12:37:05 -0700 (PDT) Date: Thu, 26 Mar 2009 15:37:05 -0400 Message-ID: <792298050903261237o4d57a47dpb99861279ee9b4f6@mail.gmail.com> From: L Campbell To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-UVA-Virus-Scanned: by amavisd-new at fork4.mail.virginia.edu Subject: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 20:02:47 -0000 I'm running a bunch of jails and running the same set of ports between them. To save myself some CPU time, I've got one jail building packages for everything I need, then serving those packages out over HTTP to the rest of the jails. The package serving jail is at 10.0.0.4, and is serving packages out from it's HTTP root, such that requesting the following URLs properly fetch the desired packages: http://10.0.0.4/lighttpd-1.4.22.tbz http://10.0.0.4/pcre-7.8.tbz I set PACKAGESITE to 'http://10.0.0.4/'; when I attempt to install Lighttpd with pkg_add -rv, I get the following output (snipped to relevant portions): $ pkg_add -rv lighttpd-1.4.22 (..snip..) scheme: [http] user: [] password: [] host: [10.0.0.4] port: [0] document: [/lighttpd-1.4.22.tbz] (..fetches and installs lighttpd-1.4.22 properly..) Package 'lighttpd-1.4.22' depends on 'pcre-7.8' with 'devel/pcre' origin. scheme: [http] user: [] password: [] host: [All] port: [0] document: [/pcre-7.8.tbz] ---> All:80 looking up All Error: FTP Unable to get http://All/pcre-7.8.tbz: No address record Somewhere along the process, something breaks and 'host' doesn't get set properly. I'm currently poking through the pkg_install code to figure out wtf is going on, but I figured I'd prod the lists to see if anyone else hit a similar problem (or knows what I'm doing wrong) since I'm not familiar with it. $ uname -a FreeBSD blah 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Thanks :3