From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 15:51:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92A0EC77 for ; Mon, 19 Nov 2012 15:51:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 15B0E8FC0C for ; Mon, 19 Nov 2012 15:51:50 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so1292270bkc.13 for ; Mon, 19 Nov 2012 07:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=u0DGLmZ+pgTwwi82VbUkhbrjPkF4AwxuGyRUpuuG/0Y=; b=T5+cztdxhm9ORD5WPCz+OQTtvzfHqku+UO1MC4pJywv0FzO7qOeJS1pFZ1g8/NN6PK 9q/5FdsZrgEiLa3YXF1USEbjNLVzMqYCzbnHujmOQqNZ43z79DqjiVh4WyvSmfwxhOrO kSNU3WHM/U5gJPFKMEPq/LiQEfN0PJs0T7hQ4//RVSAzgVfGI8y8JKEyonqWgGXVbAJu YFl7S9RHlxZlC4FMqpxYx3r5LVJy3ftkVJTX6xxE1L4Q5hpcIU2cZ63n2HlRrudAkTpd YbScNH+nFuakgdyg2ofkFtPSpWV61wYfouRVkcqws5cqzbBc93wFNiHmr2BHK4R5Gcj6 OfJw== Received: by 10.204.151.21 with SMTP id a21mr5020738bkw.124.1353340303893; Mon, 19 Nov 2012 07:51:43 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id v14sm4867514bkv.10.2012.11.19.07.51.42 (version=SSLv3 cipher=OTHER); Mon, 19 Nov 2012 07:51:43 -0800 (PST) Date: Mon, 19 Nov 2012 15:51:41 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: portsnap Message-ID: <20121119155141.46107723@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 15:51:51 -0000 On Mon, 19 Nov 2012 15:21:19 +0000 (UTC) jb wrote: > Hi, > have i caught portsnap with its pants down ? > > # rm -rf /usr/ports > # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. > Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done. > Fetching snapshot metadata... done. > Updating from Sun Nov 11 15:54:03 CET 2012 to Mon Nov 19 15:34:57 CET > 2012. Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 24085 > patches.....10....20....30....40....50....60....70....80....90... ... > 0....24060....24070....24080.. done. > Applying patches... done. > Fetching 18 new ports or files... done. > /usr/ports was not created by portsnap. > You must run 'portsnap extract' before running 'portsnap update'. > # > # ls /usr/ports > ls: /usr/ports: No such file or directory > # > > ... > So, why did it do so much work (ca. 5 min, 24085 patches), even > claiming to have applied patches, before telling me the env was not > properly set up ? jb You gave portsnap two commands - one succeeded and the other failed. "fetch" downloads and applies patches to the compressed snapshot. "update" uses the compressed snapshot to update a pre-existing ports tree created by an "extract"