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



In message <202012100310.0BA3AqTN014383%server.cornerstoneservice.ca@localhost>
	on Wed, 9 Dec 2020 19:10:52 -0800,
	John Nemeth <jnemeth%cue.bc.ca@localhost> wrote:
>      I tried following the current instructions as given on my -current box.
> At the fifth step (make USE_CWRAPPERS=no install), I got:
> 
> -----
> ...
> ERROR: The default package database directory has changed. Please run: mv /var/db/pkg /usr/pkg/pkgdb
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/pkgtools/pkg_install
> -----
> 
> The above is why I originally relocated the mv instructions.
I met the same situation and a little trick.

# cd /usr/pkgsrc/pkgtools
# make clean
# mkdir /usr/pkg/pkgdb
# make USE_CWRAPPERS=no install
# rmdir /usr/pkg/pkgdb

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index