From owner-freebsd-ports@freebsd.org Thu Dec 13 20:12:20 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C1B31332F3B for ; Thu, 13 Dec 2018 20:12:20 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9299E7049E for ; Thu, 13 Dec 2018 20:12:19 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yb1-xb35.google.com with SMTP id e124so1318717ybb.8 for ; Thu, 13 Dec 2018 12:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2MmqAtdaz1F19qHKbH52vODj8CqyrCbIDp50GK/bwRc=; b=FYFyKQtF9Y3ncOj3MnIJS0BxN6718DmHArRS+P72UhWCPf7QjO0CnDiagsoWk/hFdr wlDPga63Q8Ndb60W2RR9FBMWBMO9gFx6T/NVYG6tenHgvAbNLN/AJhPKtJ8X6bmKRgdo GiRtCXuwmhQT4NeSrkoY/0eiScXNiESXRMidmdMbc37OXJyAz/yosNZHHWQpHs+0UNLd 6e9Bx8BCrRrJemTveIPlPf9UA9CAthVeTJoXuFXzu4lm/bdToA2oC1U2tDYC8srAC+Z/ uvY9QKaM8YBLZa6DvMkkSOjUlSmhl4/l64nH/wmj0OPl53NI/crtprapU7XeNDyWHjA4 Mg1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2MmqAtdaz1F19qHKbH52vODj8CqyrCbIDp50GK/bwRc=; b=puvTZESHH370cKtUTAmIRYzwjhpLjh7J8zNg1AjOpHgWmdPv/LjmmEGiVR4qGgyahU 77qkONaooVuZ+b7OSDVMifVtq1tDyZXSq/2yfXsLk5ZEc8XMycSbtlOS0GvhFiqAJnRU Nx9l2/ikzaeYb7hN/0kohTvU48K3o+fo41yxwrEtilLqZQ0wPlH/snzCbDtNa7Y71Xqi XptKvnQyzMEF1iWRJLrACMIVMl1PtAK/mspX4/8d5lXmXo1uAYY683pt2rqCUqeDJRPe HGWfe/4X8EngUA2C6TiyZCjQJxotzi0YfMzdQX5Pbql1a//hkL9RwY0uyjAN/ia0h448 J0vQ== X-Gm-Message-State: AA+aEWZDZbBBZtfT9iFE3UCbtD0WoXExzMumFVyGbgwoc4JplOGOTtSc ok7zIRs5NVHF/B3hYoPYHfStnexcjLDclM8vLtHLjHFiTVQ= X-Google-Smtp-Source: AFSGD/VfKXCILMoU8v6lIyM1pZVCrZwkg3MewtXDTiKbSjOQytcDS1cDsNfd3Ewg6ZXobHU1mH79sES9ypWS/fU2Q8s= X-Received: by 2002:a25:c484:: with SMTP id u126-v6mr189432ybf.201.1544731938636; Thu, 13 Dec 2018 12:12:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Thu, 13 Dec 2018 13:12:02 -0700 Message-ID: Subject: Re: Updating poudriere jail To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 9299E7049E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adamw-org.20150623.gappssmtp.com header.s=20150623 header.b=FYFyKQtF; spf=pass (mx1.freebsd.org: domain of adamw@adamw.org designates 2607:f8b0:4864:20::b35 as permitted sender) smtp.mailfrom=adamw@adamw.org X-Spamd-Result: default: False [-2.13 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.45)[-0.446,0]; R_DKIM_ALLOW(-0.20)[adamw-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[adamw.org]; DKIM_TRACE(0.00)[adamw-org.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[5.3.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.58)[-0.577,0]; IP_SCORE(-0.60)[ipnet: 2607:f8b0::/32(-1.59), asn: 15169(-1.31), country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 20:12:20 -0000 On Thu, Dec 13, 2018 at 1:01 PM Carmel NY wrote: > > On Thu, 13 Dec 2018 12:49:07 -0700, Adam Weinberger stated: > > >On Thu, Dec 13, 2018 at 12:43 PM Carmel NY 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