• NetBSD
  • Manpages for sysbuild etc

Trying to update to 9.2 and sysbuild sysinstall commands cannot be found nor are the manpages on my system for them.

    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).

    • rvp likes this.

    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?

      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.

        neubaer
        I found this

        # PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
        # export PKG_PATH
        # pkg_add pkgin
        # pkg_add: Cant process file.....

          I did that and checked all the characters and the output is "pkg_add: no pkg found for 'pkgin' , sorry."

          neubaer I did that and checked all the characters and the output is "pkg_add: no pkg found for 'pkgin' , sorry."

          • Jay replied to this.

            Also can you ping google.com ?

            “Only the paranoid survive.”

            ― Harold Finch
            NetBSD VPS , NetBSD , OS108

              Jay pkg_add: cant process, pkg_add: no pkg found for, pkg_add: 1 package addition failed

              • Jay replied to this.

                bsd17 can you try with sysinst ?

                “Only the paranoid survive.”

                ― Harold Finch
                NetBSD VPS , NetBSD , OS108