Errors with ports on 9.3..

Mark Saad nonesuch at longcount.org
Sat Jun 3 19:28:23 UTC 2017


> On Jun 3, 2017, at 3:10 PM, Mark Saad <nonesuch at longcount.org> wrote:
> 
> 
> 
>> On Jun 3, 2017, at 2:24 PM, Adam Vande More <amvandemore at gmail.com> wrote:
>> 
>>> On Sat, Jun 3, 2017 at 12:19 PM, Howard Leadmon <howard at leadmon.net> wrote:
>>>    Thanks for the update, I had the feeling the issue was from it being to old.   I have a question, not sure if you know, but I will toss it out.   As I mentioned I update using svn for both src and ports, and I am curious to know if I can actually bring my src tree up to the most current 10.x stable, recompile, and install and have it all run?
> 
> So here is my take on the update . For starters if you are using a stock binary 9.3-RELEASE you can use freebsd-update to go 9.3 -> 10.1 , 10.1 -> 10.3  , 10.3 -> 11.0 . In theory freebsd-update should allow for 9.x -> 10.x but there was some breakage in the 10's FreeBSD updates that prevented this .
> 
> If you decided to do a source build you can go 9.x to 10.3 w/o much. 

I meant to say trouble but I accidentally hit send . 


Another option is to download the binary sets from ftp.freebsd.org 

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/

Now with some care you can backup your 9 kernel to kernel.old and untar the kernel tar to /boot . Then reboot in single user . Backup your etc and extract the base tar and then using etcupdate for fixing etc or manually fix it with your backup . Then reboot and fix the ports using pkg -f install pkg && pkg upgrade .  However if you haven't done this before it can be error prone if . 

Also you can look into boot environments for zfs but if memory serves me right it's not fully baked into 9.x and it may not work right . 

> 
>>> 
>>>  In the past with much older versions, I know file system changes and such make it pretty hard to jump major revisions,
>>> so have a little bit of fear about jumping from 9.x to 10.x, and possibly even to 11.x if that is now stable.   I am using ZFS, so I guess that would be one thing that is outside the norm, but should be part of the base kernels now anyway.
>>> 
>>>  Any input on upgrading would be most appreciated...

Honestly 11 has been very stable . There are issues but nothing that has wanted me to roll back to 10 . 

I am using 10.3-STABLE from about a year ago for my routers and 11.0-STABLE from April for general use and it's been good and crash free. Knock on wood . 

One thing to remember is upgrading the zpool and zfs version/ feature flags . Al la zfs upgrade pool0/foo . This is a one time job ; with no way to go back . So save this for last after your box has settled down and you are comfortable. 

>> 
>> I don't know what you know I guess, but it should work following these instructions:
>> 
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>> 
>> or these:
>> 
>> https://www.freebsd.org/doc/handbook/updating-upgrading.html
>> 
>> or these:
>> 
>> https://www.freebsd.org/releases/11.0R/installation.html
>> 
>> It is probably wise to make a backup and do a test first.
>> 
>> -- 


>> Adam


---
Mark Saad | nonesuch at longcount.org




More information about the freebsd-stable mailing list