Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2019 07:46:31 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Problems upgrading -current with pkgbase
Message-ID:  <CACNAnaGh9HEzP1TO3y-GXLywrMimR3pBkwLinXbSwBXh_Muv7Q@mail.gmail.com>
In-Reply-To: <CAPS9%2BSuA=Af8Ni%2ByKjfeOn_G54H_oCFW%2BcFp=nk5wVYUyBpWjQ@mail.gmail.com>
References:  <CAPS9%2BSuA=Af8Ni%2ByKjfeOn_G54H_oCFW%2BcFp=nk5wVYUyBpWjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 18, 2019 at 4:37 AM Andreas Nilsson <andrnils@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGh9HEzP1TO3y-GXLywrMimR3pBkwLinXbSwBXh_Muv7Q>