From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 08:58:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A2FE16A4CE for ; Thu, 25 Dec 2003 08:58:36 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B72D443D2F for ; Thu, 25 Dec 2003 08:58:33 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hBPGwQca029835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Dec 2003 16:58:27 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hBPGwQF7029834; Thu, 25 Dec 2003 16:58:26 GMT (envelope-from matthew) Date: Thu, 25 Dec 2003 16:58:26 +0000 From: Matthew Seaman To: Kai Grossjohann Message-ID: <20031225165826.GA29694@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Kai Grossjohann , freebsd-questions@freebsd.org References: <87wu8ksxbq.fsf@emptyhost.emptydomain.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <87wu8ksxbq.fsf@emptyhost.emptydomain.de> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Ports usage question: semi-unattended mass upgrades X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2003 16:58:36 -0000 --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--