pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[HEADS UP] pkg_install update - updated instructions
Hi!
Here are the latest instructions on how to update your pkg_install
installation on NetBSD.
If you are running NetBSD-current after Dec 5 or the NetBSD-8 or
NetBSD-9 stable branches after Dec 8:
cd /usr/pkgsrc && cvs update -dP
mv /var/db/pkg /usr/pkg/pkgdb
mv /var/db/pkg.refcount /usr/pkg/pkgdb.refcount
If you have the pkg_install package installed ("pkg_info -e
pkg_install" will tell you), update it (see below).
On other NetBSD versions:
cd /usr/pkgsrc && cvs update -dP
echo "PKG_DBDIR=/usr/pkg/pkgdb" >> /etc/pkg_install.conf
mv /var/db/pkg /usr/pkg/pkgdb
mv /var/db/pkg.refcount /usr/pkg/pkgdb.refcount
# and update pkg_install
pkg_delete -ff pkg_install # this may fail if you did not have it installed
cd /usr/pkgsrc/pkgtools/pkg_install
make clean
make USE_CWRAPPERS=no install
If you have pkgin installed, update the package. There are no special
instructions needed on how to update pkgin, install a new binary
package or run 'make update' or 'make replace'.
Let me know if there are any issues when you follow these
instructions.
Thanks,
Thomas
Home |
Main Index |
Thread Index |
Old Index