From nobody Thu Jul 8 19:03:20 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 45B5D11E3CC0 for ; Thu, 8 Jul 2021 19:04:15 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (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 4GLQgx71vXz4fNP for ; Thu, 8 Jul 2021 19:04:13 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: by mail-pg1-x52a.google.com with SMTP id y17so7217162pgf.12 for ; Thu, 08 Jul 2021 12:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Gd0rEbX2unPMpfwiWu4Znd6wqgyHyxm80GF/KJz0n+E=; b=GOxYayJqWzmdtjVdjO7z9fc44Khh856Uck064ec6SHSdQEXGFMBBWrSaHZ2EjYFVtF uIYEbTHFzoccdEEVr/EMbP0lxObMf78MxsNkXMqXn7MoLIhn/nBqhXukUd0aBK/ZUcoC f7rzN27PIaE3wJyzJ2GIF2bbmYgtGlfmA6dGupz6XKXIWs+JusRSNXwtPG5aLFBaObR+ ils5NcR7uszKVXIdSAZd6FRS3Yv0K0S3oGwe0lUJVS9NIMAZ0fPMNuHAhQaxVMJNwk7J S2WmxGBYuaO4BDG7OnYe6+G2zSXlumNnEr4v/PBMjaBGnp994qYS196lkXAKEUE3jSuU kwvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gd0rEbX2unPMpfwiWu4Znd6wqgyHyxm80GF/KJz0n+E=; b=JimKOmvvWndJeW+Vjj6k0Malr6L+dn0ZGMIM3oqFisv48BGFGTUvpC4TgjFm5tSYG/ vVZ7Vp/MrDqg6866CGoNnKMbk7QScH4jvtn/66BloHmGE2eung66sBsdJfKP2cLZ8C9R JE7bZZVYVqInrjqm9nMCRADXhgtmEhA6luISjxcUIMWvoO4XQEhF494jGP/idn8K+SPs XTlDpkSO9FRNEFDKXRsRcMTkCtFO90/gyzQUjsjQC972AOjSDzNiRXAyM2B0z1FlkKRW 9kOA6QXjHSjzXnFA0t4b1LD5iWXcM1eGg+rHkrVl9gfg2KYifE84LcjqXYOleRUXdb4t 93fg== X-Gm-Message-State: AOAM532deHY1IcZXRsOIxQfVOogX9PZNkzroKseVg/RK58u+sHzT6YkG ATiPyNYCym6b2KncKLKsQ96+p47fhwEJXgnyn+/HPtSmYI9y8w== X-Google-Smtp-Source: ABdhPJxE9KiWfHLlepee3Ky4jwxB0ayn83EvMqooMtDTq5or/jmvwPmEIBV5918HETQ7bFDDw3lUtmLwDwm4C7UeAp4= X-Received: by 2002:a63:b15:: with SMTP id 21mr32936946pgl.443.1625771052179; Thu, 08 Jul 2021 12:04: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 From: Chuck Tuffli Date: Thu, 8 Jul 2021 12:03:20 -0700 Message-ID: Subject: best practices for updating? To: freebsd-pkgbase@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GLQgx71vXz4fNP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GOxYayJq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=ctuffli@gmail.com X-Spamd-Result: default: False [-0.42 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::52a:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; NEURAL_SPAM_MEDIUM(0.48)[0.482]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::52a:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.10)[0.097]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::52a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-pkgbase] X-ThisMailContainsUnwantedMimeParts: N Hi I'm new to pkgbase and am running into problems with pkg upgrade of the base packages. I should note that this is my first update of base. I installed the system from a -CURRENT snapshot USB image and boot strapped it using the HOWTO [1] from alpha.pkgbase.live This process went smoothly, and the system has been running well. Yesterday I tried to upgrade, but both attempts resulted in a non-operational system. The first attempt did a naive pkg upgrade -r FreeBSD-base. There were error messages indicating mismatched libraries and other odd things. My guess was doing the upgrade in one step failed because of an ABI mismatch between user space applications and the kernel. So I rolled back to the previous boot environment upgraded the kernel package, rebooted, and upgraded the remaining components. The kernel upgrade seemed to work, but upgrading the user space components resulted in a non-booting system with errors from /etc/rc about missing /sbin/sysctl and kenv (which appears to be true). My question is, what step(s) did I miss when doing the upgrade? [1] https://alpha.pkgbase.live/howto/bootstrap.html --chuck