From owner-freebsd-current@freebsd.org Wed Sep 18 13:27:37 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 D9458FD863 for ; Wed, 18 Sep 2019 13:27:37 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 46YLPj5Qwrz4KDC; Wed, 18 Sep 2019 13:27:37 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id f5so7218318ljg.8; Wed, 18 Sep 2019 06:27:37 -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=ZEip8z/HZgsQPLf3SZGZUn9zHyDhYHaJbJWSYKNUr50=; b=agSWbUSeysxFhRct1SThw/UQcNeYPFRSDW68OmCHrkegKQmv+qEovwrVhC3iHVVdYN w1czytnpck5uhlRW2rkoBPAwPI0eMqXh/R3GCe3qDZqtE1fX8KDq1Qw95VFSb1bO5ccS +hTyYQ2xKMk48Vw4kd0NMTSYZT+MEFnaGvIz8Y8TbUPEUeypNGEmaE9byF0eN7VRhgwZ Rs5QQpGgSQ1K5hC1qJVAkM2LJQ2EdL5VgruizNvw6yyA4//QzOEKDAxiN2SwzkOz7TPW yR1utWdu210MEO1DlIEjGeqgn7lH0AhzAX44Bd6DdFQE5mbCJ5nV6TXNaxWwfIcdaB2q jCMg== 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=ZEip8z/HZgsQPLf3SZGZUn9zHyDhYHaJbJWSYKNUr50=; b=KGI60frxyfhCHzjV8a+M8TKEUJdC8vnhAwSTHzigjxRg+QFFZ9oKAFkCmYA8r9u7gd h5AfBdfQYvTpHs7pK3q2YBoM40Y/1Q7+goUmvgN2FhNZNxlLgFJr6F/hVvqBWJx4+kV8 RHOgyplrrfVlpHNfNfbxRvWZ/L6taGDhJtrJ/ylgiLDz9hTconckjSxw13ReVyfPr552 bDxjc2CbWN6CRMKg9xDbLfD8Q+aGnzVJ1llKnbvugqpE+ADV5tUzwq6mGVoyVtYknKgf YVCxvK+g/BrtNGCdtE/vlslfVXe+jbBi2RFgTMxL8D/HN7koCA5lxGA3Kq8OIJfoNO3h LGBw== X-Gm-Message-State: APjAAAWShNkVH4YPq30eByjVO0C0vmHXwd2W3GnH/bawkoWk46BhvSJK Fliagau8ydE93dITqEzKz9VGhDYOUNuWzw6bk0WC5+6k X-Google-Smtp-Source: APXvYqxnQh2Rt3HERooik5Bi2aQ249xCJSoWWbv1DkcL9/NTsrBpt/i7L3tUegUhzDVKs4ys+SeXX72bGNp5/MZNU/c= X-Received: by 2002:a2e:924d:: with SMTP id v13mr2214365ljg.226.1568813254820; Wed, 18 Sep 2019 06:27:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andreas Nilsson Date: Wed, 18 Sep 2019 15:27:23 +0200 Message-ID: Subject: Re: Problems upgrading -current with pkgbase To: Kyle Evans Cc: Current FreeBSD X-Rspamd-Queue-Id: 46YLPj5Qwrz4KDC X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 13:27:37 -0000 On Wed, Sep 18, 2019 at 2:46 PM Kyle Evans wrote: > 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 > Hello, thanks for the information! Best regards Andreas