From owner-freebsd-questions@freebsd.org Wed Nov 6 21:49:34 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D3B317967D for ; Wed, 6 Nov 2019 21:49:34 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:1c17:6a93::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 477gDF0rqWz3CC2 for ; Wed, 6 Nov 2019 21:49:32 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (cpc77397-ches6-2-0-cust96.9-1.cable.virginm.net [80.3.140.97]) by hz.citrin.ru (Postfix) with ESMTPSA id 3759610D4BA for ; Wed, 6 Nov 2019 21:49:25 +0000 (UTC) Subject: Re: complex issue with pkg poudriere and ports To: freebsd-questions@freebsd.org References: <20191104120841.GA16490@bastion.zyxst.net> From: Anton Yuzhaninov Message-ID: Date: Wed, 6 Nov 2019 21:49:24 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191104120841.GA16490@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1573076965; bh=U5iX6p1RfljEauWFMIUpaJryYjLjfCvbFXM8PnXI4OQ=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SLu1ps/MLmBaiDDLkeD4TI7iSapc1lu3yMRdQ8BDg04vPQiNPqGXJ+p0PGmN2ZecE0D62jR8GJc6uO25TDuxoqmXJbElQ85Gn6d6AeQQ5UvZaClNZek3Kdinv17GN9av3goDkyVuM64YhxbTzXeMLR5ePI3OW5HrAvH9b3dCG+s= X-Rspamd-Queue-Id: 477gDF0rqWz3CC2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=citrin.ru header.s=s0 header.b=SLu1ps/M; dmarc=pass (policy=none) header.from=citrin.ru; spf=pass (mx1.freebsd.org: domain of citrin@citrin.ru designates 2a01:4f8:1c17:6a93::2 as permitted sender) smtp.mailfrom=citrin@citrin.ru X-Spamd-Result: default: False [-3.79 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[citrin.ru:s=s0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:1c17:6a93::2]; 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(-1.00)[-1.000,0]; RECEIVED_SPAMHAUS_PBL(0.00)[97.140.3.80.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[citrin.ru:+]; DMARC_POLICY_ALLOW(-0.50)[citrin.ru,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.79)[ipnet: 2a01:4f8::/29(-2.24), asn: 24940(-1.69), country: DE(-0.01)]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; TAGGED_FROM(0.00)[bsd]; MID_RHS_MATCH_FROM(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: Wed, 06 Nov 2019 21:49:34 -0000 On 2019-11-04 12:08, tech-lists wrote: > 1. how to exclude these local ports from pkg upgrade You can lock a package and it will prevent it upgrade by pkg, e. g. pkg lock foo > 2. how to scan just these local ports and with what tool, to make sure they > are up-to date? You can compare version of locally installed package with version in a ports index, but this will include all packages, including ones installed from binary packages: make -C /usr/ports fetchindex pkg version --index -IvL= 3. how to upgrade just these local ports? There are several tools, I personally use portmaster, e. g.: portsnap fetch update # to update /usr/ports pkg unlock foo portmaster foo pkg lock foo # to prevent reinstall/upgrade by pkg upgrade