upgrade from 9.1 to 9.2 partially successful

J Parsons jkltrfjskalfds at outlook.com
Sun Mar 30 08:33:57 UTC 2014


In the FreeBSD handbook, the correct command to upgrade is

 freebsd-update -r 9.2-RELEASE upgrade

but I may used 

 freebsd-update upgrade -r 9.2-RELEASE

in the first try, resulting into failed upgrade.  After cleaning /var/db/freebsd-update, I repeated the whole procedure with the correct command above, now all the files that I checked indicate they are in 9.2-RELEASE-p3 now.  For example:

in the file /usr/src/sys/conf/newvers.sh it reads:
TYPE="FreeBSD"
REVISION="9.2"
BRANCH="RELEASE-p3"

and the change I made into /etc/hosts during the upgrade merging process *is* in the new /etc/hosts now.  

Furthermore the kernel contains the new version:
 # strings kernel | grep RELEASE|grep 9
@(#)FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014
FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014
9.2-RELEASE-p3

However,  uname still shows the old version:
 # uname -a
FreeBSD localhost.localdomain 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

and when doing  freebsd-update, it still wants to upgrade me to 9.1-RELEASE-p10.

What is still not upgraded?

Or in another word, where does uname and freebsd-update gets the current version number?
 		 	   		  


More information about the freebsd-questions mailing list