pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [HEADS UP] pkgsrc default database directory changed
On Wed, Dec 02, 2020 at 11:28:41 +0100, Thomas Klausner 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).
This seems to be broken with current (with the new pkg_install)
vs. building from source from pkgsrc-quarterly
The new tools use the new location by default, but the quarterly
branch uses PKG_DBDIR?=/var/db/pkg, so when you build packages the
build process looks (and writes) to the wrong place. So you need
PKG_DBDIR=/usr/pkg/pkgdb in mk.conf
-uwe
Home |
Main Index |
Thread Index |
Old Index