From owner-freebsd-questions@FreeBSD.ORG Fri Mar 3 14:46:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 283AD16A420 for ; Fri, 3 Mar 2006 14:46:25 +0000 (GMT) (envelope-from awebster@connectalk.com) Received: from esafe.connectalk.com (esafe.connectalk.com [204.19.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E01B43D48 for ; Fri, 3 Mar 2006 14:46:24 +0000 (GMT) (envelope-from awebster@connectalk.com) Received: from connectalk.com ([10.125.204.14]) by eSafe SMTP Relay 1141310105; Fri Mar 3 09:46:18 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Mar 2006 09:46:20 -0500 Message-ID: <9D61D69E3C1F7F459C5513AD830EE2195128FC@mtlex01.connectalk.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pkg_fetch fetches from wrong place??? thread-index: AcY+0TtsYHhfz5GMSDeoZq/W9SUNiA== From: "Webster, Andrew" To: X-ESAFE-STATUS: Mail clean X-ESAFE-DETAILS: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pkg_fetch fetches from wrong place??? 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: Fri, 03 Mar 2006 14:46:25 -0000 I'm trying to figure out how pkg_fetch decides where to get packages from. =20 It doesn't appear to consistently fetch from the same directory. Sometimes is fetches from the Latest directory, other times from All. The problem is that the All directory doesn't have the short package names listed, only Latest does. =20 I've set the following environment vars: PACKAGES=3D/release/packages-5-stable/ PKG_SITES=3Dftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stabl= e / =20 If I run pkg_fetch -v www/apache20=20 It fetches the file from ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ap ache20.tbz, and renames it to apache-2.0.55_3.tbz =20 If I run pkg_fetch -v databases/postgresql74-server It tries to fetch the file from ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/postg resql74-server.tbz =20 The problem is that in the All directory there is no postgresql74-server.tbz file, but if I go look in the Latest directory, there is a symlink for postgresql74-server.tbz to =2E./All/postgresql-server-7.4.11.tbz. Why didn't pkg_fetch use the Latest directory? Can I force it to use Latest all the time? =20 Thanks =20 Andrew Webster =20