Date: Sun, 03 Oct 2010 13:12:11 +0100 From: Chris Whitehouse <cwhiteh@onetel.com> To: freebsd-questions@freebsd.org Subject: Re: Massive portupgrade without being interrupted by configuration screens? Message-ID: <4CA8731B.1040909@onetel.com> In-Reply-To: <20101003070921.6159f9ea@scorpio> References: <4ca853f7.u8GtTT6YlSKwZwFM%mueller6727@bellsouth.net> <20101003070921.6159f9ea@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/03/10 12:09, Jerry wrote: > On Sun, 03 Oct 2010 09:59:19 +0000 > Thomas Mueller<mueller6727@bellsouth.net> articulated: > >> > From "Elias Chrysocheris"<eliaschr@cha.forthnet.gr>: >> >>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA8731B.1040909>