Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[HEADS UP] pkgsrc default database directory changed
Hi!
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 matches the default the bootstrap script had for a long time.
pkgsrc-HEAD will insist on using pkg_install 20200828, which will
print an error and ask the user to move the existing database to the
new location. This move is not done automatically by purpose so that
the administrators will take note.
There is one potential pitfall: you'll have to make sure
${PREFIX}/sbin/pkg_* is used and not mixed with /usr/sbin/pkg_* (which
will default to the old location until -current and the branches are
updated).
So please make sure your admin user's PATH has ${PREFIX}/sbin before
/usr/sbin, or copy the new pkg_install tools from ${PREFIX}/sbin to
/usr/sbin.
There is no change for the existing binary packages, since they do not
care where the information about the installed packages is stored.
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index