From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 02:08:03 2010 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 A7CCA1065672 for ; Fri, 25 Jun 2010 02:08:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 570FB8FC15 for ; Fri, 25 Jun 2010 02:08:03 +0000 (UTC) Received: by vws13 with SMTP id 13so3344220vws.13 for ; Thu, 24 Jun 2010 19:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sxayNpbzbOdmCqMPrWMISFwTO6Ah83nPQWcnB7cIC7E=; b=lXLxenlcdL1RH6sC88v/ZhQ80u4Zm7q8VG2NrTUYVA2K/9/Ljc5cIbfAR3oCoyVzod hpaz2Soi3lCsGEFLMVkpfOjnVhTyhKBdMmfTjJJdltmORoYGV0UIEtmxv1E7DwubO61N 1ZyU5D/shuR+p1UTXFiwttCLpp8w9EHNsVpo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=u2k3msGBwB6/lRX9XnfcvajLJ0R7xoQwhlEDLRv1kZ3vtDLF9CEKYWTBGQWKcJiblu UyKLQWkuEoeqIpEjkHmU8uLTX6+6immDZyF9O1TnbiJ42slScZck5mX67qAOcxiV2TTl H8uCC75YdtBKXRWg6lCB0kT/wpSdkMurLW05E= Received: by 10.220.122.3 with SMTP id j3mr5517808vcr.256.1277431682123; Thu, 24 Jun 2010 19:08:02 -0700 (PDT) Received: from schism.local (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id y13sm15044538vch.10.2010.06.24.19.07.59 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 19:08:00 -0700 (PDT) Message-ID: <4C240F7E.2080803@gmail.com> Date: Thu, 24 Jun 2010 22:07:58 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Fbsd1 References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> <4C2404FA.5050202@gmail.com> <4C240B38.6060508@a1poweruser.com> <4C240E1C.9060706@gmail.com> In-Reply-To: <4C240E1C.9060706@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: zaxis , freebsd-questions@freebsd.org Subject: Re: pkg_add 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, 25 Jun 2010 02:08:03 -0000 On 6/24/10 10:02 PM, Glen Barber wrote: > On 6/24/10 9:49 PM, Fbsd1 wrote: >> Glen Barber wrote: >>> >>> Using the above FTP URL, PKG_PATH will look for >>> >>> ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ >>> >>> >>> >>> Regards, >>> >> No I am not looking for the remote path to fetch the package >> distribution file from. When doing pkg_add -Kr pkgname >> will save the downloaded distribution pkg file. >> My question is where is this file saved at on my host by default. >> /usr/packages maybe???? >> > > /usr/ports/packages, assuming it exists. If not, it will save to the > port directory. Actually, to quote pkg_add(1): -K, --keep Keep any downloaded package in PKGDIR if it is defined or in current directory by default. Therefore, if PKGDIR is not defined, it should use $PWD. PKGDIR and PKG_PATH are two entirely different environment variables. Regards, -- Glen Barber