From owner-freebsd-questions@freebsd.org Mon Dec 17 14:45:13 2018 Return-Path: Delivered-To: freebsd-questions@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 DD2471341ED7 for ; Mon, 17 Dec 2018 14:45:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1172070E5B for ; Mon, 17 Dec 2018 14:45:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from leaf.local (unknown [IPv6:2001:8b0:151:1:e565:c864:d2d7:f268]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 014BEF47 for ; Mon, 17 Dec 2018 14:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201601-infracaninophile; t=1545057904; bh=g621VYWiR6skxO0NdiGCd/xOL2IIGsjBCI51Ghtnoss=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20Problem=20with=20poudriere=20after=20updating=20 to=20FreeBSD=2012|To:=20freebsd-questions@freebsd.org|References:= 20=0D=0A=20<45ca0b0f-59f9-d169-1af7-fa09d99012ec@inf racaninophile.co.uk>=0D=0A=20|From:=20Matthew=20Seam an=20|Date:=20Mon,=2017=20Dec=202 018=2014:45:03=20+0000|In-Reply-To:=20; b=eYgaTA7xwIdycOWKYQilqAS2FtogFp+fpIxCvfPqpQCdhsqa5yWVQdTaXI8izpdd8 1MGATEh2FOYdt7C8XDYGJi/a/j8eVxXFLmfwFEn5r6zrCoeWKp2c2FwRHsD43ck2YZ fpMwzdI+tuwVwQBCGkXuioOqWUReUosxbeNdq8nc= Subject: Re: Problem with poudriere after updating to FreeBSD 12 To: freebsd-questions@freebsd.org References: <45ca0b0f-59f9-d169-1af7-fa09d99012ec@infracaninophile.co.uk> From: Matthew Seaman Message-ID: Date: Mon, 17 Dec 2018 14:45:03 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1172070E5B X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=infracaninophile.co.uk header.s=201601-infracaninophile header.b=eYgaTA7x; dmarc=pass (policy=none) header.from=infracaninophile.co.uk; spf=pass (mx1.freebsd.org: domain of m.seaman@infracaninophile.co.uk designates 81.2.117.100 as permitted sender) smtp.mailfrom=m.seaman@infracaninophile.co.uk X-Spamd-Result: default: False [-3.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[infracaninophile.co.uk:s=201601-infracaninophile]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:81.2.117.100]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.980,0]; DKIM_TRACE(0.00)[infracaninophile.co.uk:+]; MX_GOOD(-0.01)[smtp.infracaninophile.co.uk]; DMARC_POLICY_ALLOW(-0.50)[infracaninophile.co.uk,none]; NEURAL_HAM_SHORT(-0.91)[-0.912,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.02)[country: GB(-0.10)]; ASN(0.00)[asn:20712, ipnet:81.2.64.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 14:45:13 -0000 On 17/12/2018 14:24, Carmel NY wrote: > On Mon, 17 Dec 2018 14:12:31 +0000, Matthew Seaman stated: > >> On 17/12/2018 13:57, Carmel NY wrote: >>> So, I guess what I want to know is why is this error happening and how do I >>> correct it? I wanted to completely empty the repository but I don't know >>> how to do that safely. Other than that, how do I force poudriere to do a >>> complete rebuild of all the installed ports on this system using the >>> correct information? >> >> Update the poudriere jail to match your new OS version -- otherwise >> you'll end up building 11.x packages to install onto a 12.x system. It >> often turns out easiest/quickest to just delete the jail and re-install >> the new one. >> >> Poudriere will realise that the jail version has changed and will >> rebuild everything for you. However, to be super safe, use the '-c' >> option to your 'poudriere bulk' command, which cleans out the package >> repository before rebuilding it. This will rebuild _everything_ in your >> repo, so allow plenty of time. >> >> Cheers, >> >> Matthew > > My second approach was to delete the jail and then recreate it. That did > not seem to do the trick though. I will try the "-c" options to see if it will > rebuild everything. > > Thanks :) > Make sure that your .../pkg/repo/repo.conf file uses the $(ABI) token rather than spelling out your OS ABI explicitly -- or else don't have any version related parts to your repo path at all. Also, if your repo is served via a web server, check your webserver config to make sure your repo isn't pointed at an old set of packages. Cheers, Matthew