From owner-freebsd-questions@freebsd.org Fri Aug 21 18:32:51 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E05E23C5B8B for ; Fri, 21 Aug 2020 18:32:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BY99t6R2Wz4LDc for ; Fri, 21 Aug 2020 18:32:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm1-x331.google.com with SMTP id x5so2797302wmi.2 for ; Fri, 21 Aug 2020 11:32:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l/ZWldE5MmsQOSivHa0DIt5rmxGmXd7EtcVvIeyjmtM=; b=MplYk5ARcRtHjlls4fGG6O7mxp7z+EIKmKnF9ER5e2FxrfX+uxeG8iFvTS+8Tww1sR OcLlGeIKpbxrAqLnhYn/FbovdRYhG0yhke/3ZWjo/8ijRkTcIoh8yY4EbC7k3ZtshRse QvSHolsczij3Rm5WMFLNZu7um09yW1eqcQ7v9fg6X2ZwxGN9X284W2P7iyopjcnWjZyN Y6AI4AvnZDs09L3evlSzWkwELp2RAQxUmZQqyR4G1zQFH4RFR70zL8yoCVUQt75sh8HL 4jCOFr+9Y7mL9Dzvnq2P3v8YIstps79yiAWuagDM2IuRgI3f/pcXwGaBxAc471eRjdxy 6Yjg== X-Gm-Message-State: AOAM532OmtYn3pbahLsuPtMB3VXjOwg79yaL7zwF3bwMcnj/0kcFOPHj Khz4f8nAtuJbneSCBiZymueG31iMecY= X-Google-Smtp-Source: ABdhPJxCwdJiQDbJysJRl5s8GCbROQjKy8shZAYe5EBZCLOSncOkkk9RTTsmuVdA42zSgWgULtvF9A== X-Received: by 2002:a1c:28d5:: with SMTP id o204mr5308715wmo.104.1598034768509; Fri, 21 Aug 2020 11:32:48 -0700 (PDT) Received: from gumby.homeunix.com ([2.217.224.242]) by smtp.gmail.com with ESMTPSA id 15sm6402939wmo.33.2020.08.21.11.32.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 11:32:47 -0700 (PDT) Date: Fri, 21 Aug 2020 19:32:43 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: portsnap belated complaint? Message-ID: <20200821193243.622b63e5@gumby.homeunix.com> In-Reply-To: <332bdd11-40f3-b5af-7683-aca6494abe6e@dreamchaser.org> References: <332bdd11-40f3-b5af-7683-aca6494abe6e@dreamchaser.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BY99t6R2Wz4LDc X-Spamd-Bar: - X-Spamd-Result: default: False [-1.66 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.37)[-0.367]; RECEIVED_SPAMHAUS_PBL(0.00)[2.217.224.242:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.71)[-0.707]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.59)[-0.586]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::331:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 18:32:51 -0000 On Fri, 21 Aug 2020 11:42:23 -0600 Gary Aitken wrote: > Can someone explain why the portsnap update below seems to have > succeeded (patches applied), but then afterwards I get the message > about needing to run portsnap extract? > > 11.3-RELEASE-p6 (upgraded from 10.something some time ago) > I believe the ports tree was generated when the OS was installed, but > not sure. I'm also not sure how /usr/ports was upgraded after the OS > upgrade. It wont be updated by when updating base. > # portsnap fetch This updates the compressed snapshot under /var, not the actual tree. > Extracting snapshot... done. ... > /usr/ports was not created by portsnap. > You must run 'portsnap extract' before running 'portsnap update'. portsnap has first to write the full tree with a "portsnap extract" This also writes a hidden data file that identifies file or port versions under that tree. Once that file is in place you use "update" instead. In general it's not a good idea to mix tools on the same tree or adopt a tree, so I'd delete everything under /usr/ports and run: portsnap fetch extract you then subsequently update with portsnap fetch update