From owner-freebsd-ports@FreeBSD.ORG Tue Sep 7 07:08:15 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BB3816A4CE for ; Tue, 7 Sep 2004 07:08:15 +0000 (GMT) Received: from mail.aaq.bolignet.dk (cpe.atm2-0-1021060.0x50a5f3f2.boanxx12.customer.tele.dk [80.165.243.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA0B843D31 for ; Tue, 7 Sep 2004 07:08:13 +0000 (GMT) (envelope-from freebsd.nospam@mekanix.dk) Received: from [10.10.3.10] (unknown [10.10.3.10]) by mail.aaq.bolignet.dk (Postfix) with ESMTP id 49379205F9F for ; Tue, 7 Sep 2004 09:06:12 +0200 (CEST) From: Bjarne Wichmann Petersen To: freebsd-ports@freebsd.org Date: Tue, 7 Sep 2004 09:11:43 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409070911.43483.freebsd.nospam@mekanix.dk> Subject: portinstall vs. pkg_add questions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 07:08:15 -0000 I'm playing around with RELENG_5. I'd like to install binary packages instead of using ports (the machine is slow). First bump. "pkg_add -r" looks in "ftp://ftp.freebsd.org/.. ../packages-5.3-release/", which doesn't exist... yet. And I failed to figure out how to change the default site to some mirror and path to ".../packages-5-current/", which I figure would be fine for recently updated RELENG_5 (aka BETA1). Then I tried using portinstall with the -P option. It defaults to ".../packages-5-stable/", which doesn't exist yet either. Reading the man-pages I was pointed toward pkg_fetch, which in turn stated I just needed to change som ENV-variables. I tried changing several, but portinstall kept using the default. Finally I figured out that I need to set the variables in pkgtools.conf and not in the shell-prompts. Now portinstall looks in the right place, but doesn't behave how I would expect. portinstall -P "package" just installs the packages but none of it's dependencies. Then I tried portinstall -PRF because the man-pages implicitly states that the required packages would be fetched and installed. But no. One note though. I get several "(null:) failed to install default locale". Don't know what that means or how to solve it. So now the questions: 1) Have I missed something or is this the correct behavior of portinstall. 2) How do I change the default site/path pkg_add -r uses? 3) What's the politics about the build packages in eg. .../packages-4-stable/? Not all packages are up-to-date. Bjarne