From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 18:14:07 2011 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 E07C8106564A for ; Mon, 10 Oct 2011 18:14:07 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7F37C8FC0C for ; Mon, 10 Oct 2011 18:14:07 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111010181401.LWAT12239.eastrmfepo102.cox.net@eastrmimpo02.cox.net> for ; Mon, 10 Oct 2011 14:14:01 -0400 Received: from serene.no-ip.org ([98.164.86.236]) by eastrmimpo02.cox.net with bizsmtp id j6Dx1h00R55wwzE026E0UK; Mon, 10 Oct 2011 14:14:01 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020A.4E9335E9.0102,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=oaIW6hvuqrvZuBstGxzMQDCn9/QU+BfQ2mb81G/9NAc= c=1 sm=1 a=fahu9-ItEukA:10 a=G8Uczd0VNMoA:10 a=IkcTkHD0fZMA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:17 a=D7rCoLxHAAAA:8 a=XFqhHgK-AAAA:8 a=kviXuzpPAAAA:8 a=8-CxD-EYMVz0WLzClTwA:9 a=QEXdDO2ut3YA:10 a=lzMc082ZMwYA:10 a=4vB-4DCPJfMA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id p9AIDuNL076001 for ; Mon, 10 Oct 2011 13:13:56 -0500 (CDT) (envelope-from conrads@cox.net) Date: Mon, 10 Oct 2011 13:13:51 -0500 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Message-ID: <20111010131351.4b452741@cox.net> In-Reply-To: <201110090933.41543.jmc-freebsd2@milibyte.co.uk> References: <4E900B3F.9010400@comcast.net> <20111008191614.27d9e7b0@cox.net> <201110090933.41543.jmc-freebsd2@milibyte.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: pkg_upgrade seems to try server that isn't right 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: Mon, 10 Oct 2011 18:14:08 -0000 On Sun, 9 Oct 2011 09:33:41 +0100 Mike Clarke wrote: > On Sunday 09 October 2011, Conrad J. Sabatier wrote: >=20 > > I assume you mean "pkg_upgrade" (not "upgrade_pkg")? > > > > See the "ENVIRONMENT" section of the man page. =C2=A0All of the pkg_* > > tools are consistent in how they reference these variables. >=20 > There isn't a pkg_upgrade in the base system and I'm not aware of one > in ports either but I'm open to correction. There is a python script,=20 > pkgupgrade, developed by Michel Talon which might meet the OP's needs=20 > . Alternatively the OP could use=20 > either portmaster or portupgrade from ports, both of these can be=20 > forced to use packages instead of building from source by using the > -P or -PP options. >=20 Whoops. My mistake: $ pkg_which `which pkg_upgrade` bsdadminscripts-6.1.1_1 Forgot that was from ports, not base. --=20 Conrad J. Sabatier conrads@cox.net