tech-pkg 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:41AM +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).
martin@ just pointed out to me that I had overlooked
/var/db/pkg.refcount (to path to which defaults to
${PKG_DBDIR}.refcount, so it also moved).
So the complete instructions as of now are:
cd /usr/pkgsrc/pkgtools/pkg_install
make USE_CWRAPPERS=no install
cd /usr/pkg/sbin && install -c pkg_add pkg_admin pkg_create pkg_delete pkg_info /usr/sbin/
mv /var/db/pkg /usr/pkg/pkgdb
mv /var/db/pkg.refcount /usr/pkg/pkgdb.refcount
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index