Bug 224440

Summary: problems upgrading 11.0-STABLE to 11.1-STABLE
Product: Base System Reporter: Augusto Torres <torres>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: New ---    
Severity: Affects Only Me Keywords: regression
Priority: ---    
Version: 11.1-STABLE   
Hardware: amd64   
OS: Any   

Description Augusto Torres 2017-12-18 23:57:19 UTC
Dear,
I'm trying to upgrade my FreeBSD 11.0-STABLE (amd64) servers to 11.1-STABLE.
I looked for several points where 11.1-STABLE would be unsuccessful.

I performed the following steps:
mv /usr/src to /usr/src.old and executed
svnlite checkout https://svn.FreeBSD.org/base/stable/11 /usr/src
svnlite update /usr/src
make buildworld
make buildkernel
make installkernel
shutdown -r now
To my surprise, only the kernel has upgraded to 11.1-STABLE.
# freebsd-version
11.0-STABLE
# freebsd-version -k
11.1-STABLE
What went wrong? Where do I find the stable sources of version 11.1?
Best regards
Augusto
Comment 1 Jonathan Chen 2017-12-19 01:11:48 UTC
You missed out:
# make installworld
# mergemaster

Have a look at /usr/src/UPDATING
Comment 2 Augusto Torres 2017-12-19 12:27:03 UTC
Hi,
mergemaster -U and -P works partially.

uname -a
FreeBSD servisor.domain 11.1-STABLE FreeBSD 11.1-STABLE #2 r326876: Mon Dec 18 11:04:44 BRST 2017     torres@webserver.cle.unicamp.br:/usr/obj/usr/src/sys/GENERIC  amd64

But
# freebsd-version (system persist on 11.0-STABLE)
11.0-STABLE
# freebsd-version -k 
11.1-STABLE

It would really be this tree for the 11.1-STABLE?
svn checkout https://svn.freebsd.org/base/stable/11/ /usr/src/
Comment 3 Jonathan Chen 2017-12-19 18:15:33 UTC
You missed out:

# make installworld

Your binaries would still be the previous version. Just check the modification times of any installed binaries.
Comment 4 Augusto Torres 2017-12-19 23:48:20 UTC
Argh I suffocate. I thought my server was gone.
Now it's working perfectly.
# freebsd-version
11.1-STABLE
# freebsd-version -k
11.1-STABLE
FreeBSD server.domain 11.1-STABLE FreeBSD 11.1-STABLE # 0 r326876: Mon Dec 18 11:29:06 -02 2017 torres@server.domain: / usr / obj / usr / src / sys / GENERIC amd64

I will apply the same rule to the other servers I have running;
Thanks for the great help.
Merry Christmas everyone
Augusto