Problems upgrading -current with pkgbase

Kyle Evans kevans at freebsd.org
Wed Sep 18 12:46:44 UTC 2019


On Wed, Sep 18, 2019 at 4:37 AM Andreas Nilsson <andrnils at 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


More information about the freebsd-current mailing list