NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Upgrading from 10.0 to 10.1



On 01/10/2025 13:20, Stephen Borrill wrote:

On Wed, 1 Oct 2025, Liam Proven wrote:
I think I messed this up.

Sorry you've had a hard time.

Well, I can't lie, it was substantially harder than I expected.

I'm not a rookie -- I started on SCO Xenix 286 in 1988 -- but I am a BSD newbie.

Agreed. While I've never used either method, the sequence of steps for upgrading a major release with sysupgrade explains what needs to be done:

I blinked in surprise at this. Then how do you do it? This implies there are more methods.


1) download and extract kernel
2) download and extract modules
3) reboot
- you are now running the new release kernel with backwards compatibility allowing you to continue with an older userland

4) download and extract at least all the sets you had installed (if in doubt, look in /etc/mtree). You should download etc and xetc, but MUST not extract them. You can add other sets (e.g. X) if you want
5) run etcupdate (which I've never bothered with)
6) run postinstall -s etc.tar.xz -s xetc.tar.xz fix
7) reboot

I am a bit bewildered here.

I thought that one of the core advantages and "selling points" of the BSDs was that each is a complete OS developed by the same team -- as opposed to a Linux distro which isn't so much a piece of software as 30,000 pieces all flying in _extremely_ close formation.

Now you're telling me that I need to consider these things separately and manage them separately... Why?

I did not install anything additional. This was a clean, largely unused install of 10.0. No additions, no extra apps, nothing compiled, and never used except for a review.



As above, upgrading is not dissimilar to a new installation except you don't extract etc and xetc. Those are handled by etxupdate and postinstall.

I didn't do any of that, though.
I tried anyway. It ran for a long time -- hours -- and at the end I
was still on 10.0.

That sounds like a kernel was missed.

I think it defaults to the same version and does n ot look for a new release. Which is somewhere between strange and insane to me, but what do I know?

Remember that sysupgrade is not a core part of NetBSD.

I can't as I never knew, and I know nothing of the OS's makeup.

I have reviewed NetBSD, FreeBSD, OpenBSD, DragonflyBSD, GhostBSD, MidnightBSD, and tried NomadBSD. I run TrueNAS Core at home.

 What tiny bit of BSD experience I have is 90% FreeBSD, though.


It is a pkgsrc package and upgrading pkgsrc package is outside the scope of an OS upgrade.

Honestly this makes no sense to me.

It's one OS installed with its own installer, nothing added, nothing taken away.

--
Liam Proven ~ Profile: https://about.me/liamproven
LinkedIn/X/FB: lproven ~ Email: lproven%cix.co.uk@localhost
Google: lproven%gmail.com@localhost
IoM: (+44) 7624 227612 ~ UK: (+44) 7939-087884
Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


Home | Main Index | Thread Index | Old Index