--- wikisrc/pkgsrc/how_to_upgrade_packages.mdwn 2019/09/02 20:48:37 1.5 +++ wikisrc/pkgsrc/how_to_upgrade_packages.mdwn 2020/09/09 15:50:14 1.9 @@ -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 @@ -28,12 +28,12 @@ pkg_add's -u option is used to update a By using the -uu (option used twice), it will attempt to update prerequisite packages also. -See the manual page, [pkg_add(1)](http://netbsd.gw.com/cgi-bin/man-cgi?pkg_add+1+NetBSD-current), for details. +See the manual page, [[!template id=man name="pkg_add" section="1"]], for details. ## 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,7 +190,7 @@ 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