On 17 August 2015 at 15:47, Pongthep Kulkrisada <[email protected]> wrote: > So my question... > Is there a SINGLE command to force rebuild all installed pkgsrc?
Never done it myself, but have you considered this: pkg_info -Q PKGPATH -a > pkgs_i_want_to_have pkg_info -a | sed 's/ .*//' | tail -r | while read p ; do pkg_delete $p ; done cat pkgs_i_want_to_have | (while read pp ; do cd /usr/pkgsrc/$pp ; make && make install ; done) Taken from the wiki: https://wiki.netbsd.org/pkgsrc/how_to_upgrade_packages/#index8h2
