Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 13:12:02 -0700
From:      Adam Weinberger <adamw@adamw.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Updating poudriere jail
Message-ID:  <CAP7rwchABGUbubxXTa4VKee0yeTLrf4602tENN5i7d0N7rfP_A@mail.gmail.com>
In-Reply-To: <SN1PR20MB2109F358D13965E0B85A3D3C80A00@SN1PR20MB2109.namprd20.prod.outlook.com>
References:  <SN1PR20MB21098E78F501A457DD0A2E1680A00@SN1PR20MB2109.namprd20.prod.outlook.com> <CAP7rwcikxQbn4Xzkc-ZKJ16hiTkrfu3ZgvzRFg7C_JriGOG=zQ@mail.gmail.com> <SN1PR20MB2109F358D13965E0B85A3D3C80A00@SN1PR20MB2109.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 13, 2018 at 1:01 PM Carmel NY <carmel_ny@outlook.com> wrote:
>
> On Thu, 13 Dec 2018 12:49:07 -0700, Adam Weinberger stated:
>
> >On Thu, Dec 13, 2018 at 12:43 PM Carmel NY <carmel_ny@outlook.com> wrote:
> >>
> >> I am using FreeBSD 11.2-RELEASE-p6. If I use freebsd-update to install the
> >> new version 12, what do I have to do to update the poudriere jail? Plus,
> >> if I do update, will I have to rebuild all of my installed applications?
> >
> >It's not really possible to cleanly upgrade a poudriere jail to a new
> >major. You'll need to delete the jail and recreate it.
> >  poudriere jail -d -j $jailname
> >  poudriere jail -c -j $jailname -v 12.0-RELEASE
> >
> >If the jail name stays the same, it will retain all the options,
> >make.conf, and poudriere.conf. If the jail name has changed, you'll
> >most likely want to move those things over:
> >  cd /usr/local/etc/poudriere.d
> >  mv oldjailname-{make.conf,poudriere.conf,options,etc....} newjailname-...
> >
> >You will, unfortunately, need to rebuild everything. After rebuilding,
> >be sure to run "pkg upgrade -f" BEFORE the final "freebsd-update
> >install"!
> >
> ># Adam
>
> I build my packages. Do I really have to do the "pkg upgrade -f" procedure?

Yeah, it is necessary. The packages that are on your system are linked
against the 11.2 libraries. Once you do the final "freebsd-update
install", those 11.2 libraries will disappear. As a result, every
package you have installed will break. Rebuild everything, then "pkg
upgrade -f" to reinstall all the packages using the newly built
versions. That way, nothing will break after the final freebsd-update
install.

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



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