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
Date: Mon, 7 Dec 2020 11:38:14 +0100
From: Thomas Klausner <wiz%gatalith.at@localhost>
Message-ID: <20201207103814.xbnkdiwpzo6xlwy3%yt.nih.at@localhost>
| > 2) requires a more recent pkg_install than the one from NetBSD 9.1
|
| That is correct. If you are on any currently supported release you
| will have to manually update pkg_install first before using pkgsrc.
Actually, no, that shouldn't be needed - something needs to manually be
done, but it doesn't need to be that one, (it is non trivial).
Either symlinking the old pgkdb to the new one, or adding
PKG_DBDIR=/usr/pkg/pkgdb
(or whevever it will be placed) in /etc/pkg_install.conf (which probably
doesn't exist, so that one line will be all it contains .. the line should
be at the left margin - might not be required, but works if it is).
Either of those is much easier than replacing the old pkg_install just
for this change. After doing either (on NetBSD) the system pkg_install
set of tools will all work just fine with the relocated pkg database.
kre
Home |
Main Index |
Thread Index |
Old Index