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 Sat 05 Dec 2020 at 15:14:52 +0100, Thomas Klausner wrote:
> 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

A problem with pkg.refcount might be that files in that directory
contain absolute pathnames starting with /var/db/pkg. E.g.:

$ cat /var/db/pkg.refcount/groups/mail/cyrus-sasl-2.1.27nb1 

$ cat /var/db/pkg.refcount/files/usr/pkg/lib/perl5/vendor_perl/5.32.0/XML/SAX/ParserDetails.ini/p5-XML-SAX-1.02 

$ cat /var/db/pkg.refcount/users/smmsp/sendmail-8.15.2nb9 

Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index