From owner-freebsd-questions@freebsd.org Sat May 29 16:41:30 2021 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 3B8CE643F38 for ; Sat, 29 May 2021 16:41:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 4FsnPj3ZDqz3q4h for ; Sat, 29 May 2021 16:41:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id h24-20020a9d64180000b029036edcf8f9a6so6637956otl.3 for ; Sat, 29 May 2021 09:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GCbdlb0ZfffHqB+BNIRUCjr8UdFVxw4aL71NvmTOceY=; b=af3HdGevrm1y8RN7S/KGong6fOe4gIbTf3eV2RVU294UzK9PnA4TURucAvt78UTJXn 0gMkmWLUWB7lFdK4IURGg3CPJ9cJTIdZFgL3z3jgj5MJtkKqed5yEW0O/UjHy9G72f/a tzjx9ziyZZmpVrQxxWHGqZSOLTNbBcuBn7yK79Ven0FsSJQqQO6eWKu0lq9Llpdj2boP rPEtvSakA7Ox0yVOVSgVSlygvLKzHG87rUgdfTG+EST+FzMgGrQNtNQ9am7Z2MYsGFGr LQlU0Wk0t2OGqKQJGM/fb+BtMwHSwNXmaD7sYiIFj/KDqQzScHxgqzJ45t648O7ulAIx KhUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GCbdlb0ZfffHqB+BNIRUCjr8UdFVxw4aL71NvmTOceY=; b=AOeImV0e+wSe5rxOKBu2RBcGDJKMowbpQZMnAokb+tay2kQiLlBkKn34FG9DF2LcqG mnbsTdsnvPRtbxazM348/2vmvIh3iiT1J4Ogn33Dm9bB4uYcHDl0ScACw7/y0csA+5VV xRDrTNKEYmkek6L88R4OxY4CZjXMfLkl6iOrzCM109p8toaYNUwqh/svaP2f0m/4hlBH QIvJAdUOcBNtER5VQqrjKsdX3nSxLZi/ZwcC9izrq9OD2sKw0u2DqFc0oPgiifOrKAns Y65Kl8FGh42/Eva/DYS/m7LEhBd6Dea5v/L9PdoqZu96xWQGFjfyqX17pIgGaekfcotb Ijzg== X-Gm-Message-State: AOAM532bILVBJNnfUcgFaFBmoO8RK2NN2pTOLkl6xeqfxy8x70xQLZ8f ycPAlu5UQP98XHEZNd/0/FyE8lMw3gUuvp6rj1rW6ZEuyp4= X-Google-Smtp-Source: ABdhPJx55Wdn26sVdj0NvJHsEp95RHP4epGhIXKRr/I5HmQWKICy5JgbFhCHA+loSfu5xP92eiCj2aEir+07LhQmqtA= X-Received: by 2002:a05:6830:348c:: with SMTP id c12mr11202115otu.344.1622306488331; Sat, 29 May 2021 09:41:28 -0700 (PDT) MIME-Version: 1.0 References: <20210528144112.GA961@lena.kiev> In-Reply-To: <20210528144112.GA961@lena.kiev> From: Kevin Oberman Date: Sat, 29 May 2021 09:41:11 -0700 Message-ID: Subject: Re: Updating /usr/ports To: Lena@lena.kiev.ua Cc: Mailinglists FreeBSD X-Rspamd-Queue-Id: 4FsnPj3ZDqz3q4h X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=af3HdGev; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::333:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::333:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::333:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2021 16:41:30 -0000 On Fri, May 28, 2021 at 8:01 AM wrote: > > If you are trying to replace portsnap, I think the answer is net/gitup. > > This only requires a single command, "gitup ports", and you get your > index > > updated along with updating all ports. > > No, `gitup ports` doesn't update index. It deletes INDEX-12 . > Does "pkg version" use some other way of doing things than INDEX? I checked a system that I recently upgraded to 13.0 and it lacks INDEX-13 (or any INDEX-), but "pkg version -vL=" works fine. It is slower, though. It was almost instantaneous and now takes about 45 seconds. Not sure whether this is dependent on the number of installed ports. That system has only about 325 ports installed. My development system has around a thousand, but I use git and fetchindex there, so I can't easily compare. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683