From owner-freebsd-current@freebsd.org Wed Sep 18 12:46:44 2019 Return-Path: Delivered-To: freebsd-current@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 7E482FCB53 for ; Wed, 18 Sep 2019 12:46:44 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46YKVX2gCDz4Gxd for ; Wed, 18 Sep 2019 12:46:44 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 2EFB2C4F for ; Wed, 18 Sep 2019 12:46:44 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f181.google.com with SMTP id u186so7860452qkc.5 for ; Wed, 18 Sep 2019 05:46:44 -0700 (PDT) X-Gm-Message-State: APjAAAXLbHNaWWhJ/ZXUj7af1Uu/kcj12c0EurkJlLWnoqvRXhM1YyMa GDRXcZCspui5FG/WlsgT95h1qE7kjMMI2NwYoGM= X-Google-Smtp-Source: APXvYqw1mutgJ6bpZw3NuNiIyXm1PZwT1mncJ/Grvl/PbNh6rJJ0FGVCuJhKf1RUviZVkv4G3PQRVYWdisjaQ8SLfkA= X-Received: by 2002:ae9:dd81:: with SMTP id r123mr3714336qkf.103.1568810803617; Wed, 18 Sep 2019 05:46:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Wed, 18 Sep 2019 07:46:31 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Problems upgrading -current with pkgbase To: Andreas Nilsson Cc: Current FreeBSD Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2019 12:46:44 -0000 On Wed, Sep 18, 2019 at 4:37 AM Andreas Nilsson wrote: > > Hello, > > I'm trying to upgrade my -current with pkgbase, using boot environments: > $ bectl list > BE Active Mountpoint Space Created > 13C-20190902 NR / 72.3G 2019-09-02 13:43 > 13C-20190916 - /tmp/be_mount.JZ2z 127M 2019-09-18 11:21 > > Trying to go from a checkout 20190902 to 20190916, and it seems there have > been some reorganization as how packages are created, quite a few smaller > utilities like > > FreeBSD-libutil-13.0.s20190902093212 > FreeBSD-libcom_err-13.0.s20190902093212 > FreeBSD-libz-13.0.s20190902093212 > > seems to have been merged into > FreeBSD-utilities: 13.0.s20190916114708 > > However, after upgrading all packages and installing FreeBSD-runtime, I > notice that my /etc/passwd is reset to what is found on a new install. > > How to go about doing this upgrade without having important files reset to > "factory default"? > Hi, I filed a pkg PR about this a couple days ago: https://github.com/freebsd/pkg/issues/1781 -- we can enumerate the files that are being reset with those that manu's recently tagged for inclusion into a package to backup-and-restore manually around the upgrade for the time being, but the PR will be resolved in due time. Thanks, Kyle Evans