Den ons 24 juli 2024 kl 07:57 skrev Will Senn <will.s...@gmail.com>: > Hi, > > NetBSD newb here. I know FreeBSD well, a bit about OpenBSD, and lots about > Linux. My question is after installing, how do I check for updates to the > system itself and get them installed (security updates, kernel updates, > etc)... or is this not a thing with NetBSD? I figure packages are updatable > via the pkg management tools (pkg_add/pkgsrc) doing my research on this as > we speak. > > Help appreciated and if there's a common set of procedures folks follow, > that'd be good to know, too... in freebsd: freebsd_update fetch install for > system updates, pkg update && pkg upgrade for packages and mint: apt update > && apt upgrade for the same sorts of updates... that kind of thing. > > You can either use sysinst or, sysupgrade.
To use sysinst, fetch a new image from (assuming NetBSD-10) http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/ and use the upgrade option from the installer. Or, install sysutils <https://pkgsrc.se/sysutils>/sysupgrade and use it to upgrade the system. See, chapter 4 of the guide, https://www.netbsd.org/docs/guide/en/chap-upgrading.html