Translations:Pkgsrc in PC-BSD®/6/en

From PC-BSD Wiki
Jump to: navigation, search
  1. The process for using tar files is very much the same as when obtaining them originally, except that the old tree must be erased first
    # rm -rf /usr/pkgsrc/
    # ftp ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
    # tar -xzf pkgsrc.tar.gz -C /usr
  2. Next bootstrap pkgsrc again
    # cd /usr/pkgsrc/bootstrap/
    # ./bootstrap --pkgdbdir /var/db/pkgsrc
  3. Update the bootstrap-mk-files
    # cd /usr/pkgsrc/pkgtools/bootstrap-mk-files/
    # /usr/pkgsrc/bootstrap/work/bin/bmake update
  4. And if that does not work (such as on a standard NetBSD install) try:
    # /usr/pkgsrc/bootstrap/work/bin/bmake replace
    # /usr/pkgsrc/bootstrap/work/bin/bmake update
Personal tools

Variants
Actions
Navigation
Toolbox