Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 02:40:29 -0400
From:      jfkldsafjkl kjltsafda <jkltrfjskalfds@outlook.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   upgrade from 9.1 to 9.2 failed (mostly)
Message-ID:  <BAY181-W4121660B0D6ED293D2F516DF730@phx.gbl>

next in thread | raw e-mail | index | archive | help
Hi=2C I tried to upgrade from 9.1-RELEASE-p10 to 9.2-RELEASE on my Dell Lat=
itude laptop.  I followed the procedure in the guide:

freebsd-update fetch
freebsd-update install
reboot
freebsd-update upgrade -r 9.2-RELEASE
freebsd-update install
reboot
freebsd-update install
reboot

Now my kernel appears to have upgraded=2C because it contains the string 9.=
2-RELEASE:

# strings /boot/kernel/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 9.1:

# uname -a
FreeBSD localhost.localdomain 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: T=
ue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/s=
rc/sys/GENERIC  amd64

and other files such as /etc/hosts are NOT upgraded=2C because I added a co=
mment in that file during the merging=2C but eventually the file does not c=
ontain that comment.

I can look at the temporary files under /var/db/freebsd-update/=2C the /var=
/db/freebsd-update/install.*/INDEX-* contains the index to the upgraded fil=
es together with their sha256 values=2C while the actually files are gzippe=
d under /var/db/freebsd-update/files/ =2C yet all the files on the system s=
till mated the old version.

I even modified /etc/freebsd-update.conf to

# Is FreeBSD Update allowed to create new files?
AllowAdd yes

# Is FreeBSD Update allowed to delete files?
AllowDelete yes

but it did not help.

Also uname says it's 9.1-RELEASE #0 now. And freebsd-update fetch install c=
an not update that version any more.

I repeated upgrade procedure multiple times=2C now I get many lines of addi=
tional error when running freebsd-update upgrade -r 9.2-RELEASE:=20

/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory

one google search result suggested extract /usr/bin/install from the 9.1 of=
ficial iso file and replace the one on the system.  That indeed removed tha=
t error.  However=2C I still ended up with 9.1.  And when repeating the upg=
rade procedure I always get this "cannot open files/.gz" error.

What else can I try to complete this upgrade? Thanks for your help.

 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY181-W4121660B0D6ED293D2F516DF730>