From nobody Thu Dec 11 23:47:27 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dS8RJ15Rmz6KZXm for ; Thu, 11 Dec 2025 23:48:12 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dS8RJ0b8Kz42YQ for ; Thu, 11 Dec 2025 23:48:12 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765496892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vAjtZ9ZlN76QsXEvODTX8+0bub3ABFb3F09urZfsSDU=; b=oiUIfU4T789MWueAVE2FTNjwJV5vOiNmEYlM8dJSsG86fxGOjnxReYZ6DAq0AYbDWkT3mB VJz+c0LJDVC4nm8WOS3+TeawJaEdBJiuLqRqRg5qeeGXXdcvHm/BICSbnsTSdUu5zXFfFZ FRlZ0aAn+FptWkAl7ObgNLbmTET2GBpt+wLlfChOdUM67hCM4vIe4N/H4wWQ3KF4F/b6c7 wmspCeSBT7FIfSvMtCo7J0qts2dnCUqI1rsl7dXw+R0itvNybsvLvlanyaSZE3MZoN/ZLk rAs4vjw4GIFUv0Whfr4TNkdAtwYa+MRPcbW8Hg/ZDT6ztV7eGZIJOSG+MyhFpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765496892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vAjtZ9ZlN76QsXEvODTX8+0bub3ABFb3F09urZfsSDU=; b=gzkIBLWyPQMSiZ4td48hAqeKPNEkLkTrdHUQoXNb5gGHFSCsdgD3TavHdndL0s8Xc+zSdW ewAoZ57LkDwodsbvEAhtw080sx9KiT6nppVfxvwkKhER1faHebbISt6iO74CQphESZC+pD 7z5ztg4kZu4a6gfl0VnwwANZKjDZ1QnVYF7/QJZtroOi1/T5wHe4tWzp0UAFLy++P8qZdb OZqufuWA2xiyLEf79k/WxGjW9oUvqS18hQz512izW5ijdcxKzKL3OkximGuckeaeySk6nv albXDPiRaZsCoDLslfmfX3bFUGUfQ3+bwhtagHKrb6SD0TIhwj97snfDxlfuyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765496892; a=rsa-sha256; cv=none; b=rRR3f6aTBFK3+33xGMnztXM2gGaupwNhMQ77oN9y1kcT1T/bn+q259TvGAfdj4hua18cS0 6nh4Dudxlgbpdw2FNw5rGQFHi1zBD9oPMnZs2/dPJ096ECslRkpwihZkvM2Q1KxL3XEDsv x/h+/XorJFHi94nKuYls+mNs0VUVq2tyZthkM90ZD3VD/9ExxkDsk343donu0MDRAGknUE n18rQL0S0P8F5YS+hTcC9g+Naw5GEwbAB7+KN6JFb1h5HH6P5LFRe6caSiaxHlszLEsSTu 4aFQ5bLY4snRcYfYYTne9pFGTT8Pz5ibxGSdhPJ5rrF5aruooYtly6c58bEvGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dS8RH5LjBzNsn for ; Thu, 11 Dec 2025 23:48:11 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Thu, 11 Dec 2025 23:47:27 +0000 From: Lexi Winter To: freebsd-pkgbase@freebsd.org Subject: Re: Customize what packages get installed Message-ID: Mail-Followup-To: freebsd-pkgbase@freebsd.org References: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v9t5L4EHaCfqETAb" Content-Disposition: inline In-Reply-To: --v9t5L4EHaCfqETAb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Ankerst=E5l wrote in : > When using freebsd-update and there is a new patchlevel only the > affected files are updated. Lets say the patchlevel only contains a > fix for unbound. Then freebsd-update will only download and install > unbound-files. >=20 > But when moving from one patchlevel to another using pkgbase all > installed packages from FreeBSD-base will be updated. But it would > have been enough to just upgrade the FreeBSD-unbound package. no, this isn't how it works. are you using pkg.freebsd.org packages or building your own packages? if you're building your own packages, use "make update-packages", not "make packages". that will copy unchanged packages from the previous build, so that the version number doesn't change and pkg won't upgrade them. if you're using pkg.freebsd.org packages, there are only two explanations i can think of for this behaviour: - you are tracking CURRENT, and only update relatively infrequently; because the value of __FreeBSD_version is encoded in the ELF header of every executable, any time that value is bumped, you will need to update nearly all packages. this can happen several times per week during periods of high code churn. this is correct behaviour, because the executables have changed and need to be updated. (you could debate whether it's really necessary to encode this particular value in the ELF header, though; but that's not a pkgbase issue.) - you updated past a point where the pkg.freebsd.org repository was rebuilt from scratch. as far as i know, this has only happened once in recent memory, and that was a couple of months ago, so this would only be the cause of your issue if you almost never update and ignore security issues. if neither of these explanations seem plausible, please record the output of 'pkg upgrade' the next time you run it, and post it here, because the behaviour you are observing is not intentional. --v9t5L4EHaCfqETAb Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaTtYDAAKCRD1nT63mIK/ YLEoAP9pmC4Rc1+Ft603keHOfcRIDCMxjKhaN8nvy+u4RcojxQEA8t/Z3ScSKkIn rDF3kJlEAtfvINLLnH8wDtj2cxhz1gU= =Xzhj -----END PGP SIGNATURE----- --v9t5L4EHaCfqETAb--