From nobody Thu Jul 29 00:28:04 2021 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9067F12D77AF for ; Thu, 29 Jul 2021 00:29:14 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 4GZrxj5SDKz4ZRs for ; Thu, 29 Jul 2021 00:29:13 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: by mail-ed1-x534.google.com with SMTP id x14so5639607edr.12 for ; Wed, 28 Jul 2021 17:29:13 -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=Ny9ABSkti4fOsC9WbkncIM3tCWXpZwC+pVjLGWkd7ic=; b=crBaFFObPmcjZQu87/xd4jRyRlW3maUbRGJLWlaEspS7bfoitf5DLh49+3P+Qjyyaj 5s8HnJM/B6Bn/yfc5R27fU12Gtyt5EeDq2qCTDWQ9prRCq3z9RSq5YWlOUW99fAibR03 FDxKE+dYkIPKYqtIs+aLGpQmmxEDh+sXllzkVquRnIqzwUHoKaiEmIx65WiWBMbH4EqL cSBe7JEDuIOU7wbhIjZP0tmf3bEzFpyB5tD92XYY//iSyHcZTxf5DCgeGnHhMNYE7MKq BhAX3bHjBmiWJAiUE5VI7DmlCkCfbwmt3AXNcIMEdL/WfZn2L7HmXTdGY8dvPmGFrATk pScg== 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=Ny9ABSkti4fOsC9WbkncIM3tCWXpZwC+pVjLGWkd7ic=; b=f6pCM6xvgMfjlqQMF7WcBLQ5KjEYe0SVPlBxs1sPHFuN7gzDPPFRbRdm5Zw+Xzd+HH DBTFwTEiMupWwxn+irPA3Ro5/JZuUCoYSJM8FjJrVQ4PDuJfRSAy1tkfuchAIybqJmOe kQ8Z3eytFf+u0Qlm/epg3lSxxtRUqYbxabCXeHa89osJMTgyWKKbpwK0PbwqRYN/E3Ol DkhBU9hs+9UjMjTFcbiaqYkIDsJTKy94QjpajyEGULDppqgIj0WazPhFwOumoz2l9NTW hIisHOm55mJT/25my4hnTOFkbnyuzJkx1sTHafuNP9yKc2gnClO7ZqIKdivIjIk1izEw NziA== X-Gm-Message-State: AOAM533KUDvFF91fZqZ6uaWChkVVSssf5Ee/ZXUCf3QbCAJNXkt0xXjw FJ+icMUcTdLLo0B6bYmAPvAwtWdVtzNSLA8boqSuwL0zIqR2qw== X-Google-Smtp-Source: ABdhPJxEG/t9aicX9fb5MslXkWTDgcykKDqVPydbjWTWQS3q9sm3UdY/Yr1W46bfq3IqxGanxP+xh+710tIHMqxpyBY= X-Received: by 2002:aa7:da4f:: with SMTP id w15mr2884859eds.9.1627518552087; Wed, 28 Jul 2021 17:29:12 -0700 (PDT) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org MIME-Version: 1.0 References: <20210712120552.88a43820aa40314755eacfae@bidouilliste.com> In-Reply-To: <20210712120552.88a43820aa40314755eacfae@bidouilliste.com> From: Chuck Tuffli Date: Wed, 28 Jul 2021 17:28:04 -0700 Message-ID: Subject: Re: best practices for updating? To: Emmanuel Vadot Cc: freebsd-pkgbase@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GZrxj5SDKz4ZRs X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=crBaFFOb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=ctuffli@gmail.com X-Spamd-Result: default: False [-0.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; NEURAL_SPAM_SHORT(0.98)[0.985]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::534:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-pkgbase]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Thanks for the feedback. See below for a couple of questions: On Mon, Jul 12, 2021 at 3:05 AM Emmanuel Vadot wrote: ... > What I do on my systems is : > > pkg upgrade --fetch-only > bectl create XXX > pkg upgrade FreeBSD-kernel-generic (or FreeBSD-kernel-generic-nodebug > on some machines) > nextboot -o "-s" > shutdown -r now So if I understand this correctly, after the reboot, the system should come up in single user mode, yes? It didn't seem to work, but maybe I confused things with the boot environments. > pkg upgrade FreeBSD-clibs (this takes care on ABI mismatch or new syscalls) Running this from single-user errors out with "pkg: Insufficient privilege to upgrade packages". But this make me suspect I misunderstood the previous instructions. > pkg upgrade FreeBSD-runtime > pkg upgrade -r base > > There is sometimes some others step needed when we move stuff from > packages to packages or creates new packages > (https://cgit.freebsd.org/src/commit/UPDATING?id=1c2ab28f598a9598b3c50d9001c70ff51f88e445 > is a good example of such workaround sometimes needed). > > Cheers, > > -- > Emmanuel Vadot