From owner-freebsd-questions@FreeBSD.ORG Sun Oct 3 12:12:13 2010 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 AFF5B106566C for ; Sun, 3 Oct 2010 12:12:13 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4C64C8FC0A for ; Sun, 3 Oct 2010 12:12:13 +0000 (UTC) Received: from muji2.config (93.97.24.219) by woodbine.london.02.net (8.5.124.10) id 4C8D78340079034E for freebsd-questions@freebsd.org; Sun, 3 Oct 2010 13:12:11 +0100 Message-ID: <4CA8731B.1040909@onetel.com> Date: Sun, 03 Oct 2010 13:12:11 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100924 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4ca853f7.u8GtTT6YlSKwZwFM%mueller6727@bellsouth.net> <20101003070921.6159f9ea@scorpio> In-Reply-To: <20101003070921.6159f9ea@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Massive portupgrade without being interrupted by configuration screens? 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: Sun, 03 Oct 2010 12:12:13 -0000 On 10/03/10 12:09, Jerry wrote: > On Sun, 03 Oct 2010 09:59:19 +0000 > Thomas Mueller articulated: > >> > From "Elias Chrysocheris": >> >>> If you are sure that the default configuration settings are OK for >>> you, then one way is to perform a portupgrade with the switches >>> --batch --yes, like portupgrade --batch --yes -a >> >>> This will assume that the default settings are those you like and >>> will not ask you anything about configuration screens e.t.c. >> >>> Elias >> >> Idea is that I might want to configure some of the options, so I >> can't use --batch=YES unless I configure all options beforehand, >> meaning I have to find what ports are to be upgraded and which of >> those have user-selectable options. >> >> Are there any adverse side effects if I use portupgrade some of the >> time, and postmaster other times? >> >> Reason for wanting to do all "make config"s beforehand is not only >> efficiency and ability to run unattended, but the ability to recover >> from a typo at the config dialog interface, which can be confusing, >> on when to press spacebar, tab, enter, up- and down-arrows. >> >> Now I see in UPDATING file, date 20100915, that lang/perl5.12 has >> been updated to 5.12.2. >> >> 20100915: >> AFFECTS: users of lang/perl5.12 >> AUTHOR: skv@FreeBSD.org >> >> lang/perl5.12 has been updated to 5.12.2. You should update >> everything that depends on perl. The easiest way to do that is to use >> "perl-after-upgrade" script supplied with lang/perl5.12. >> Please see its manual page for details. >> >> If you want to switch to lang/perl5.12 from lang/perl5.{8,10} please >> follow instructions in the entry 20100715 in this file. >> >> >> I only saw this via FreeBSD web site Oct 3 (20101003), after my >> original inquiry. Does this mean I have to go through all the >> troubles again? >> >> I already successfully portupgraded Perl to 5.12.2. But I guess I >> need to read "perl-after-upgrade" script before doing anything >> (including panicking?). > > If you were to use 'portmanager' with its '-p' option, it would rebuild > all ports that depend on the new version of Perl as well as any ports > that depended on those ports as well. It would insure that the > dependency links were fully updated. There is then no need to run the > superfluous "perl-after-upgrade' script; although, you are free to do > so if you so desire. > I use portmanager -s to get a list of ports to be upgraded which I then feed into a foreach (csh) or for (sh) loop which runs "make config" in each port directory. It's quick and easy and I can then run portmanager with no further intervention and I have all the configs as I want them. chris