From owner-freebsd-questions@FreeBSD.ORG Wed Jun 24 00:50:56 2009 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 C0BA0106564A for ; Wed, 24 Jun 2009 00:50:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 49D588FC12 for ; Wed, 24 Jun 2009 00:50:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy8 with SMTP id 8so673491ewy.43 for ; Tue, 23 Jun 2009 17:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=IE5h6PQNSPwQkLUP9emWWhAeOG308AeGpcAKiBhjDn8=; b=B31qoW2GsNnncRFqrn5aasQf7To1qeN4I/ETsEc3dylHGeN0ItOHLG7GQCszK3umxP 5Dm3xY/iwqnub+OpL+RXm630OvpiCMF6MPBU0mmTGxT1vgT8hxwbWuRs4XR2ZNsBAxZw z7zNwlUE1HAQG8TLQWPdxf8XNiZuAwe+FO10w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=PVBVOmd1u/wr3Fh2/sBa0FR5ULww9v/JC4wBcLR+a+NHauJdkldkX2pJPnk7pRadI2 t0IUjyBExm+SH4/oBl0UWFSGZSLDWWa9aBcdMVcyhLZRe3Ahj4O8vh4ViBtXyqvFEfxL B4nJ02TB7bCmPnCsFY0xzKMjIAYeqaSV4hUzU= Received: by 10.210.115.15 with SMTP id n15mr755905ebc.39.1245804655396; Tue, 23 Jun 2009 17:50:55 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 10sm822019eyz.11.2009.06.23.17.50.54 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Jun 2009 17:50:54 -0700 (PDT) Date: Wed, 24 Jun 2009 01:50:51 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090624015051.2ee23577@gumby.homeunix.com> In-Reply-To: <4A414751.9090804@onetel.com> References: <200906212038.39370.meslists@yahoo.fr> <4A3FE271.8080201@onetel.com> <20090622214802.0761813e@gumby.homeunix.com> <4A414751.9090804@onetel.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: upgrading installed ports: time to do it ? 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: Wed, 24 Jun 2009 00:50:57 -0000 On Tue, 23 Jun 2009 22:21:21 +0100 Chris Whitehouse wrote: > RW wrote: > > On Mon, 22 Jun 2009 20:58:41 +0100 > > Chris Whitehouse wrote: > > > >> I'll probably get flamed for this but since I've been using > >> ports-mgmt/portmanager I've almost forgotten > >> about /usr/ports/UPDATING and all that pkgdb -Fu stuff or whatever > >> it was. I've upgraded ports just by doing 'portmanager -u' over > >> one or two quite major changes and not had any problems that > >> haven't been down to an individual ports. > > > > You still need to read UPDATING, portmanager handles some of the > > issues automatically, but not all. > > Not trolling but can you give me some examples? Many of of the entries aren't solely to do with guiding portmaster/portupgrade through the upgrade, they may also involve migrating configuration or user data, or performing other administrative tasks. Portmanger does cope with most of the "portupgrade -o" and "portupgrade -r" entries, although sometime it will need to be run (or rerun) in pristine-mode. However, it doesn't always work correctly when software has been repackaged because this can create temporary unrecorded conflicts which are difficult for any tool to deal with. If you see any instructions to remove packages before upgrading, it's prudent to follow them.