> On 6 Jan 2017, at 7:14 PM, Erdos New <shaojwen at aim.com> wrote: > > for now i'd like to stay with 10.1 instead of upgrading to 10.3. > > how do i rebuild 'pkg' from ports tree? Yes, just run this... :) # portsnap fetch # portsnap extract # cd /usr/ports/ports-mgmt/pkg # make all deinstall install Cheers, Franco