pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Update Problem



On Wed, 14 Apr 2010 21:16:23 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:

All true, but another workaround is "rm -rf /var/db/pkg/bootstrap-mk-files*".

This will get rid of the registration and leave the files, so you can
use the fi les to run the installation of the new versions.  I've used
this on a mac.

For that, how about following step?
# pkg_delete -ffN bootstrap-mk-files
# cd pkgtools/bootstrap-mk-files && make install PKG_PRESERVE=yes
# pkg_admin rebuild-tree

Unless rebuild-tree, "Required by bmake" will be lost.
And without PKG_PRESERVE=yes, PRESERVE flag will be lost.
--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index