Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 21:49:24 +0000
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: complex issue with pkg poudriere and ports
Message-ID:  <d8af6ec1-9ef8-791f-24f7-060c181a52a2@citrin.ru>
In-Reply-To: <20191104120841.GA16490@bastion.zyxst.net>
References:  <20191104120841.GA16490@bastion.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8af6ec1-9ef8-791f-24f7-060c181a52a2>