From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 21:48:59 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 9428A1065692 for ; Tue, 23 Jun 2009 21:48:59 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: from smtp141.mail.ukl.yahoo.com (smtp141.mail.ukl.yahoo.com [77.238.184.72]) by mx1.freebsd.org (Postfix) with SMTP id 21D2F8FC0C for ; Tue, 23 Jun 2009 21:48:58 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: (qmail 54201 invoked from network); 23 Jun 2009 21:48:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Reply-To:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=uXgIUKxLhK+9XD3+zHfNolP6l3OHn+35MZDaH/nGLX+SGj00s0d7IXLywXfQgXXPOzxiTw3miYg5PViB5BxAWpY57+d3nn5mfWxtUPFeZZGHN5Ynpqq08+iX5l3M/cG+d27OVg4OsDxg/qLbkItRglaRwlMQzoAJIjK5qQugBHg= ; Received: from unknown (HELO suer) (meslists@151.49.236.170 with plain) by smtp141.mail.ukl.yahoo.com with SMTP; 23 Jun 2009 21:48:57 -0000 X-Yahoo-SMTP: vQQ_Xl6swBCl_II246m4P1b5oVD4 X-YMail-OSG: C4vpDrkVM1l6fJy47HZAp8v8sP2PR60i4GQlrSIAXldBAp50A0VSmB3TuzPbe6KhW0eLda8tiva_4S__XF3EAfLYQAWz4d5y0g5zR.CpivgijLkiMpYrs7WQs7P4qZXwzFteGmksknw61JKqFORu25f3te4S2Hfunx_93hnb4Fg2H0DM_zN1oB2yOEIJzZfBZYr0bBvPa6RWcGKEodOGfUNZkL_GPwd_vL0TFSAg2Svt774cLo56s_uHt7YP9gH3sc70ly.JiEXvNvoqpQB58U8iiQCxAa2RxNi3jKgzTA_UyVvvrzE- X-Yahoo-Newman-Property: ymail-3 From: dan To: freebsd-questions@freebsd.org Date: Tue, 23 Jun 2009 23:48:14 +0200 User-Agent: KMail/1.9.10 References: <200906212038.39370.meslists@yahoo.fr> <20090622214802.0761813e@gumby.homeunix.com> <4A414751.9090804@onetel.com> In-Reply-To: <4A414751.9090804@onetel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906232348.14647.meslists@yahoo.fr> Subject: Re: upgrading installed ports: time to do it ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: meslists@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 21:49:00 -0000 On Tuesday 23 June 2009 23:21:21 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? > > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Yes. I think there is at least one. Please, consider to correct me if I am wrong. Yesterday, reading the contents of /usr/src/UPDATING in the source tree (using portupdate-scan) I found : "[...] 20090608: AFFECTS: users of lang/python* and py-* AUTHOR: miwi@FreeBSD.org The default version of Python has been changed from 2.5.x to 2.6.x. If you have 2.5.x installed, perform an upgrade of lang/python25 to lang/python26 with the following command: [...] " Can portmanager know that the default version of a port has been changed and then you need to do the upgrade to the newer major version ? And if it can know that... can also portmanager know that "[...] Once the installed Python has been updated to 2.6, by using the method above, it is required to run the upgrade-site-packages target in lang/python to assure that site-packages are made available to the new Python version. [...] "? If, otherwise, using portmanager you end up with a newer version of python 2.5 (for example)... are you sure that every upgrade in the future will work flawlessly ? After Reading the UPDATING file a guy will " [...] set the PYTHON_DEFAULT_VERSION variable to 'python2.5' without quotes in make.conf, then go to lang/python and perform the following command: [...] " will portmanager do the same ? d