Trying to update to 9.2 and sysbuild sysinstall commands cannot be found nor are the manpages on my system for them.
Manpages for sysbuild etc
bsd17 sysbuild is a pkgsrc package (in sysutils) and "sysinstall" is actually called sysinst and should be in /usr/sbin/sysinst
Can you specify how you're planning to upgrade the system - e.g. building your own from sources, pre-built binary sets, etc. ?
Depending on that, there might be an easier solution, like sysupgrade which I like very much (also a pkgsrc package).
- Edited
I was just gonna do the simplest form.
# sysbuild build
# sysupgrade auto ~/sysbuild/release/$(uname -m)
How do I install these packages. Is it not as simple as pkg_add sysbuild?
- Edited
bsd17 Yes, pkg_add
should suffice. You can also use pkgin
which is a much nicer package manager, if it's installed.
If you don't care about building from sources, you can skip sysbuild
and just do sysupgrade auto
, which will download and install pre-built binary sets - no compiling necessary.
EDIT: A word of warning. If you're upgrading within a major release (e.g. 9.1 -> 9.2) then sysupgrade auto
is fine. However if you're upgrading major releases (e.g. 8 -> 9) or CURRENT, then you have to first upgrade the kernel, reboot, and then extract the userland sets.
I'm missing a big piece of this installing packages thing. I'm assuming the command has to have the path of the pkg in it since pkg_add sysbuild, sysupgrade, or pkgin doesn't work. "The sysbuild and sysupgrade tools (currently available in pkgsrc/sysutils/sysbuild and pkgsrc/sysutils/sysupgrade respectively)"
But "pkg_add pkgsrc/sysutils/sysbuild" doesn't work either.
bsd17 You can try specifying the URL literally, without the shell expansions. For example, my the PKG_PATH would be "http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.2/All/".
I did that and checked all the characters and the output is "pkg_add: no pkg found for 'pkgin' , sorry."
bsd17 can you try
pkg_add http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.2/All/pkgin-20.12.1nb1.tgz
“Only the paranoid survive.”
― Harold Finch
NetBSD VPS , NetBSD , OS108
Also can you ping google.com ?
“Only the paranoid survive.”
― Harold Finch
NetBSD VPS , NetBSD , OS108
bsd17 can you try with sysinst ?
“Only the paranoid survive.”
― Harold Finch
NetBSD VPS , NetBSD , OS108