Solved Upgrading 10.2 to 10.3

Hi,

I just tried to upgrade my 10.2 install to 10.3. I made sure 10.2 was up to date and as a side note, pkg upgrade showed that I had no packages that needed upgrading (I spent some time recently getting everything updated).

The patch list from 10.2 to 10.3 was quite lengthy, but no matter, the freebsd-update worked.

However, I ended up rolling back, I didn't quite have the time to look at the issues, but I saw that files like rc.conf and usb.conf had significant merge conflicts, that after the merge setting like ifconfig_xx had been set to "" ... this seemed a bit strange. I wasn't expecting a point upgrade to cause quite so many merge conflicts.

The rc.conf file had grown a huge amount and it wasn't practical for me to step through every change given the amount of time I had.

Just wondering is it possible to just keep the existing rc.conf/usb.conf files somehow (maybe just cut and paste the old .conf file in) ? I'd hope there would be nothing breaking in a point release and if there is new functionality, I'd rather add it when I need it (to something fundamental like rc.conf)?
 
As far as I know /etc/rc.conf is never touched by any of the upgrade methods.
 
When I upgraded from 10.2 to 10.3 using freebsd-update it was all done completely automatically. I didn't have to do any manual merging at all. So that seems a little odd. And yes /etc/rc.conf isn't a file that is usually touched by this? Older versions used to make you merge because of the changes in the version ID at the top of the files but newer versions take care of that automatically now.
 
Hi,

Thanks, I've just done this (whilst not trying to get kids to sleep etc...) and the changes are in /etc/defaults/rc.conf not /etc/rc.conf - my bad. It is still prompting me to resolve some merge diffs, but they were fairly trivial ("version number" or whitespace differences).

I still managed to get some errors:

Code:
Installing updates...ln: ///usr/share/man/man4/if_ix.4.gz: No such file or directory
ln: ///usr/share/man/man4/if_ix.4.gz: No such file or directory
install: ///usr/src/bin/sh/tests/builtins/case20.0: No such file or directory
install: ///usr/src/bin/sh/tests/errors/bad-parm-exp7.0: No such file or directory
install: ///usr/src/bin/sh/tests/errors/bad-parm-exp8.0: No such file or directory
install: ///usr/src/bin/sh/tests/expansion/ifs5.0: No such file or directory
install: ///usr/src/bin/sh/tests/expansion/ifs6.0: No such file or directory
install: ///usr/src/bin/sh/tests/expansion/ifs7.0: No such file or directory
install: ///usr/src/bin/sh/tests/expansion/pathname5.0: No such file or directory
install: ///usr/src/bin/sh/tests/functional_test.sh: No such file or directory
install: ///usr/src/bin/sh/tests/parameters/positional3.0: No such file or directory
install: ///usr/src/bin/sh/tests/parser/dollar-quote12.0: No such file or directory
install: ///usr/src/bin/sh/tests/parser/line-cont1.0: No such file or directory
install: ///usr/src/bin/sh/tests/parser/line-cont2.0: No such file or directory
install: ///usr/src/bin/sh/tests/parser/line-cont3.0: No such file or directory
install: ///usr/src/contrib/llvm/patches/patch-r286033-llvm-r219009-x86-codegen-crash.diff: No such file or directory
install: ///usr/src/sys/dev/ixl/i40e_devids.h: No such file or directory
install: ///usr/src/usr.bin/xargs/tests/regress.0P1.out: No such file or directory
install: ///usr/src/usr.bin/xargs/tests/regress.P1.out: No such file or directory
install: ///usr/src/usr.bin/xargs/tests/regress.n2P0.out: No such file or directory
install: ///usr/src/usr.sbin/bsdconfig/includes/includes.sh: No such file or directory
install: ///var/db/etcupdate/current/etc/mtree/BSD.debug.dist: No such file or directory
install: ///var/db/etcupdate/current/etc/periodic/daily/480.leapfile-ntpd: No such file or directory

However, everything seems fine, Apache, Mail & other services are all good. If anyone knows what causes the above errors, I'd be grateful if you could let me know.
 
Those are because you don't have a (complete) source tree in /usr/src. You can extract the tree from an install image or disable updating in /etc/freebsd-update.conf.
 
Thanks for the explanation. I'll disable the updating in /etc/freebsd-update.conf as I tend not to build my own kernel component. I only really build the odd port, postfix with sql support etc...
 
Back
Top