From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 07:59:09 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 9F1CC16A4CE for ; Thu, 25 Dec 2003 07:59:09 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C42143D1D for ; Thu, 25 Dec 2003 07:59:07 -0800 (PST) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AZXtB-00018v-00 for ; Thu, 25 Dec 2003 16:59:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AZXtA-00018n-00 for ; Thu, 25 Dec 2003 16:59:04 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AZXtA-000258-00 for ; Thu, 25 Dec 2003 16:59:04 +0100 From: Kai Grossjohann Date: Thu, 25 Dec 2003 16:59:05 +0100 Lines: 22 Message-ID: <87wu8ksxbq.fsf@emptyhost.emptydomain.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:MWYWGI++u/5ZW+1o1b4g33Wrx1Y= Sender: news Subject: 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 15:59:09 -0000 Say I would like to upgrade all installed packages. I already found out that I can do "portversion -c" which spits out a shell script which does this. But since it takes a long time, so I'd like to let it run over night. It seems that it can ask me a question from time to time, if the port likes to ask questions. (Last time, I was lucky and only Postfix wanted to ask me. This question came fairly early.) How do I prevent having to get up in the middle of the night to answer a question from portupgrade? (Telling me to let the upgrade run over day rather than over night is not an acceptable answer ;-) 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... Kai