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: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).
Since some people have trouble installing a new pkg_install from
pkgsrc (because it depends on cwrappers, which depends on pkg_install)
- the easiest way to get a new pkg_install from pkgsrc is this:
cd /usr/pkgsrc/pkgtools/pkg_install
make USE_CWRAPPERS=no install
That will build pkg_install without cwrappers.
I suggest replacing /usr/sbin/pkg_* with /usr/pkg/sbin/pkg_* after
this succeeds to avoid further problems.
I also found out that pbulk.conf includes the path to the database, so
please update that as well (pkgdb variable).
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index