--- wikisrc/pkgsrc/how_to_upgrade_packages.mdwn 2019/05/10 09:02:04 1.4 +++ wikisrc/pkgsrc/how_to_upgrade_packages.mdwn 2020/08/31 18:11:49 1.8 @@ -19,7 +19,7 @@ Run 'pkgin update' to get the list of av To update all installed packages, just run pkgin update - pkgin full-upgrade + pkgin upgrade ## pkg_add -uu @@ -33,7 +33,7 @@ See the manual page, [pkg_add(1)](http:/ ## pkg_chk -b -Use "-b -P URL" where URL is where the binary packages are (e.g. [ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All/](ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All/)). +Use "-b -P URL" where URL is where the binary packages are (e.g. ). For example, to update any missing packages by using binary packages: @@ -190,19 +190,19 @@ After you've built new new packages, you If you use PKGBASE instead of PKGNAME, you get the basename of the file. -See [this BSDFreak Article](http://bsdfreak.org/modules/news/article.php?storyid=1) for a nice tutorial on how to set up and use pkg_comp. +See [this BSDFreak Article](http://web.archive.org/web/20081002065622/http://www.bsdfreak.org/modules/news/article.php?storyid=1) for a nice tutorial on how to set up and use pkg_comp. ## bulk build framework -Use the scripts in pkgsrc/mk/bulk/, e.g. as pointed out in [http://www.netbsd.org/Documentation/pkgsrc/binary.html#bulkbuild](http://www.netbsd.org/Documentation/pkgsrc/binary.html#bulkbuild). +Use the scripts in pkgsrc/mk/bulk/, e.g. as pointed out in . -To go easy on the existing pkgsrc installation, creating a sandbox (automated chroot environment) is highly recommended here: [http://www.netbsd.org/Documentation/pkgsrc/binary.html#setting-up-a-sandbox](http://www.netbsd.org/Documentation/pkgsrc/binary.html#setting-up-a-sandbox). +To go easy on the existing pkgsrc installation, creating a sandbox (automated chroot environment) is highly recommended here: . You can later mount the pkgsrc/packages/ via NFS wherever you want and install them like: set PKG_PATH /mnt/packages/All && pkg_add -Or upload them on a www-site and pkg_add [http://www.site/packages/All/](http://www.site/packages/All/) +Or upload them on a www-site and pkg_add ## wip/distbb - distributed bulk builds