Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2003 16:58:26 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Kai Grossjohann <kai@emptydomain.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ports usage question: semi-unattended mass upgrades
Message-ID:  <20031225165826.GA29694@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <87wu8ksxbq.fsf@emptyhost.emptydomain.de>
References:  <87wu8ksxbq.fsf@emptyhost.emptydomain.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 25, 2003 at 04:59:05PM +0100, Kai Grossjohann wrote:

> The holy grail, of course, would be that I invoke some command which
> asks me all questions and stores the answers somewhere, then invoke
> another command which actually builds and installs the ports.  I could
> then do the question-answering in the evening, before I go to bed...

It's called portupgrade(8) (sysutils/portupgrade in ports).

Unlike portversion -c it will do the upgrades in the correct
dependency order, which will leave you with a correctly working
system.  You can record any port options you use in
/usr/local/etc/pkgtools.conf before you start your updating job,
including options for interactive configuration (Hint: add 'BATCH=3Dyes'
to your make options to stop the interactive screens coming up).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/6xcydtESqEQa7a0RAt3UAJ4pO2++QgFBHK57GbIGG9/lL5lAUACfSZBq
LbqFj9x0WDb7NkpcruEsni0=
=sP2w
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031225165826.GA29694>