From owner-freebsd-questions@FreeBSD.ORG Sat Jan 1 15:03:02 2005 Return-Path: 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 B409316A4CE for ; Sat, 1 Jan 2005 15:03:02 +0000 (GMT) Received: from heineken.flexi-surf.co.uk (smtp.flexi-surf.co.uk [62.41.128.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 385B343D31 for ; Sat, 1 Jan 2005 15:03:01 +0000 (GMT) (envelope-from nbco@screaming.net) Received: from [192.168.2.2] ([217.51.146.52])j01D6Jf26874; Sat, 1 Jan 2005 13:06:19 GMT From: nbco To: freebsd-questions@freebsd.org Date: Sat, 1 Jan 2005 15:02:45 +0000 User-Agent: KMail/1.7.2 References: <200412311749.52424.nbco@screaming.net> <200412311532.31108.reso3w83@verizon.net> In-Reply-To: <200412311532.31108.reso3w83@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501011502.46430.nbco@screaming.net> cc: "Michael C. Shultz" Subject: Re: re portmanager, how to prevent upgrade of held ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nbco@screaming.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 15:03:02 -0000 On Friday 31 December 2004 23:32, Michael C. Shultz wrote: > On Friday 31 December 2004 09:49 am, nbco wrote: > > Any ideas as to how to make portmanager ignore held ports? > If you were to move /var/db/pkg/openoffice-1.1.4.20041101_1 (assuming > that is the version you have installed) directory to someplace safe, > like in your home directory then portmanager nor any part of the > ports system would know openoffice-1.1.4.20041101_1 is installed. > This will only work for a port that is not a dependency for another > port so only if no other ports depend on openoffice-1.1.4.20041101_1 > will this work. When you want to upgrade it then move the directory > back > to /var/db/pkg. > > You can also create a ports/local/editors/openoffice-1.1which is a > bit more involved and way more elegant, I will be happy to explain > only if you are truly interested. Many thanks, the first option worked perfectly, inelegant though it may be. .nbco