On Wed, Dec 02, 2020 at 11:54:31AM +0100, Tobias Nygren wrote:
> On Wed, 2 Dec 2020 11:28:41 +0100
> Thomas Klausner <[email protected]> wrote:
>
> > The new default for the pkgsrc database (which contains information
> > about all installed packages) in pkgsrc-HEAD has changed from
> > /var/db/pkg to ${PREFIX}/pkgdb (so usually /usr/pkg/pkgdb).
>
> Since this is about changing a default, it should be mentioned in the
> heads-up how to stay on the old path if migration is currently not
> convenient. To do this one can add PKG_DBDIR=/var/db/pkg to mk.conf
> before the new pkg_install is built.
Thanks for this note.
Another user already remarked privately that this only affects NetBSD
-- all operating systems using the bootstrap method were already using
${PREFIX}/pkgdb.
The change is documented here:
http://pkgsrc.org/news/pkgdb-change/
Feel free to improve this.
Thanks,
Thomas