From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 12:43:24 2008 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 1B66D1065673 for ; Thu, 18 Dec 2008 12:43:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9C28F8FC18 for ; Thu, 18 Dec 2008 12:43:23 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ey-out-2122.google.com with SMTP id d26so9294eyd.7 for ; Thu, 18 Dec 2008 04:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=VxvKKgHhRKJUQrn6dA1DI0L8epQwPekUAj4KYayJ0BA=; b=rRZ2AmBljl4Ka9EkT9QHdpIth4aIF8PDyYZbeHFFHoyAEyegKah65ma6N6DTPfUrbM yiGaimJipNv3cYnIqwVuLY8OuP2YG7azLre/VQge6NHErtiDfHMt7pAfzHm1pRckE5va /5R7iaqdDMZXSRKybqHKmCNQY1tBXVdMvpBQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=iJDfXSLuEjjNK/jGzwrOfksAZYanGMxU5kyjoh4+ujaEiUWzYIZquHAXBIVJWgcaIk xDf87GWiIXNreBhiDz/5+WfokhV6EiGRrRSpUhWs2PhG1bDXCkH4C37pyFE6Is6maQ76 zrX6SrizzzZAKE/cc/92Q/9JhayaXoRgiAczg= Received: by 10.210.136.10 with SMTP id j10mr2178724ebd.188.1229604202397; Thu, 18 Dec 2008 04:43:22 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id c25sm18401161ika.14.2008.12.18.04.43.20 (version=SSLv3 cipher=RC4-MD5); Thu, 18 Dec 2008 04:43:21 -0800 (PST) Date: Thu, 18 Dec 2008 12:43:18 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081218124318.09f16d42@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Pieter Donche Subject: Re: portsnap and portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 12:43:24 -0000 On Thu, 18 Dec 2008 11:08:44 +0100 (CET) Pieter Donche wrote: > ( decompress to /usr/ports ) > # portsnap extract > > ( it is not clear to me if this is correct if one already has > a /usr/ports created during sysinstall .. ) You need the extract so that the tree is exactly matched to the snapshot and the correct metadata is created, it's installing the tree from disk that's not needed. > In root /etc/crontab, shedule daily updates of /var/db/portsnap : > 0 3 * * * root /usr/sbin/portsnap cron > >... > b. For every future upgrade of gv (using portupgrade): > b.1. ( update ports collection ) > # portsnap update > ... > b.5. do the port upgrade > # portupgrade -R gv > > b.6. install the updated version of ghostview > # cd /usr/ports/print/gv > # make install clean You don't need the last step, that's what portupgrade does. For the most part it's better to bring all you ports up-to date if you can, rather than doing it piecemeal.