From owner-freebsd-questions@FreeBSD.ORG Sun Oct 3 11:36:24 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 7631B106566C for ; Sun, 3 Oct 2010 11:36:24 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0468FC16 for ; Sun, 3 Oct 2010 11:36:23 +0000 (UTC) Received: by wyb29 with SMTP id 29so3220655wyb.13 for ; Sun, 03 Oct 2010 04:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=Gcz2/OK+qEnMQ+4OUOghfz7adufgv22GnN08TKiGfVs=; b=iLYmxLgnR4bItpg0TW0Tmc++dos9hDog3SYl6MZeTrRPyZPrtbnKSoooLu4YaLHoiO Nk935mwmGumqmSFLrKhEvtL1wQxiQIyqZVAfVB+wi1j0xSarxdCg6FamvNpYCsNP31dd vQl2BRYd7EOOaHpxXCPe4qM40/6bmvD5WxG6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=FESwKllJid52OPDQbKoARWVei5rokMehyuANZYirEMwlzBbiBJagOkiSpZqMt5D52D +JuF/SziYaHTOOUBG/CLvCpX+rQXOpkjtzUPE9e5AntONoO5FRFodmfVanpGjw4VyEDB Horq40ttRouwhx2ef778QcOSYAS86pj2gAfsM= MIME-Version: 1.0 Received: by 10.216.47.140 with SMTP id t12mr6470487web.102.1286105782670; Sun, 03 Oct 2010 04:36:22 -0700 (PDT) Received: by 10.216.162.75 with HTTP; Sun, 3 Oct 2010 04:36:22 -0700 (PDT) Date: Sun, 3 Oct 2010 11:36:22 +0000 Message-ID: From: "b. f." To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Massive portupgrade without being interrupted by configuration screens? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2010 11:36:24 -0000 > Are there any adverse side effects if I use portupgrade some of the > time, and postmaster other times? Probably not, if you keep your portupgrade portsdb and pkgdb up-to-date, and you are not doing anything special with pkgtools.conf, portmaster.rc, or environment variables. But you don't really need both, or, for that matter, either of them. For instance, you could just use the base system utilities and do something like: pkg_version -qol '<' | cut -f 1 -d ' ' | xargs -o -t -I % make -C /usr/ports/% config-recursive (For a speed-up, if you are sure your INDEX is synchronized with the rest of your ports tree, you could add the -I flag to the above pkg_version call.) > 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. This is what the portupgrade -C/-c flags are for. if you want to do the configuration as a completely separate step from the updating, for whatever reason, you could run 'portupgrade -can', for example. b.