From nobody Sun Jun 21 00:15:49 2026 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 4gjX184M9Pz6hvS8 for ; Sun, 21 Jun 2026 00:15:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4gjX174wjvz3LMD for ; Sun, 21 Jun 2026 00:15:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1782000951; bh=cV4BF9wFCEJjN8slnujb3J3APxYgf0ZhBrNTyykzuDg=; h=Date:Subject:To:References:From:In-Reply-To:From:Subject:Reply-To; b=KyHd/aCxiI8ixd/VmGWTRRY6moKdWUhzlxhTdKYmPVVaTcZYFHDJmMP5VwmPgamdjGFyUSfmVdVsjZk6CFoX0143mf785V77FOX4Su5ppCacOhXYCJyaTVAmdzYEj9JwUlHnVn/3fzA+0umK9wJ8YyOgqm2/98YAb+wtugogI47fHvnSqLpv6rVQ1jat1GXMn0gHG+4NwI/mPCoS8O3DjJnPJRbGsC8XrkrnM7c+7MTWtJB1MqCedAUkQqBysw0gVM23HhiQMEVZkijz5yLjpzBB8aZczf050v6IrevfUeNMDNzmh8tzp9V1qWzkS6w9YVvY5MM/R0OojXTbkGy+Kw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1782000951; bh=/wIpUUoMdSMrwGT1OvfumAb/ouI1891zOTaigH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LbeKDwCuNNazfEAg5wtfGCl1UQ.m9ubqqniUpxH_rdFxie P9f65mvH6fBI_YmJ5wHIS3Fc_LKbDF.hmjGvAn1s9e9X_6BgfPi3GxuwaBPho_eJ51tsfcmpXTLj lPcUkVBm1SxHPphHjBPfJvyzxui7IhUBXGv2kEUf_pd_sfbg45BV3bKutk_2FH3Ec5GSJkRliwbp IuPItjGYr3NPbFxZi87PDfrslc14FaER_p5N8RwHRanqOTt_nd0Wt5Yt43a0bZknfiHy4yAyM.7x r0.8lct5GWma3JN32JARPw8_G6Xe0zb6S4YOKRDIqaMUqXrNQiKsJd0.BJ6r4VSIl9I5tlDyCuXd 1lkoVX8bLdzl6kN6G.lQn7DTcrtGCysx26_9qKvqb01UAbf41GPxF3VKO3kFS36bR974x1DztWP5 3e2ZBuKMj1PWH_AWrnmXxhX6lvEpR9t5QBmT1sbgR7xHFMvgwQZMySel.x0UQ1OLpO9DG3b8rq.u 03Y.VDfDGbGIEyInGhk4C3NDtQd5nQCwzGwYscnmuZVcF4_NXI8fcRmihXWbwPw_4V668U8VEG7g 6SbNLDlyX6dLDRZKKO5O3KdhLCpLDTMQBGaQdRbXmpHi.lDG1 X-Sonic-MF: X-Sonic-ID: 00673e2f-fa52-42de-bb13-225f2f4143e9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 21 Jun 2026 00:15:51 +0000 Received: by hermes--production-gq1-7bb7df5c46-tkjt8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d93e26ea8bce377f4a196a2595a64cfe; Sun, 21 Jun 2026 00:15:50 +0000 (UTC) Message-ID: Date: Sat, 20 Jun 2026 17:15:49 -0700 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Moving to pkg-based in 15.1 ... To: Mike , freebsd-pkgbase@FreeBSD.org References: Content-Language: en-US From: Mark Millard In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailer: WebService/1.1.26016 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4gjX174wjvz3LMD X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 6/20/26 16:25, Mike wrote: > > I have a couple of questions as I run a test environment ... > > For starters, I downloaded and installed the memstick image of 15.1 > AMD64.  So that is what I am working with here. > > OK, under the prior environment when I wanted to update from, say, p5 to > p6 of the current installed version (e.g., 14.3 p5 to 14.3 p6), I had a > script that ran ... > >     /usr/sbin/freebsd-update fetch > > then, after a yes/no prompt ... > >     /usr/sbin/freebsd-update install > > then, when that completed the script ran ... > >     InstalledKernelVersion=$( /bin/freebsd-version -k ) >     RunningKernelVersion=$( /bin/freebsd-version -r ) >     InstalledUserLandVersion=$( /bin/freebsd-version -u ) > >     echo "Running kernel:     ${RunningKernelVersion}" >     echo "Installed kernel:   ${InstalledKernelVersion}" >     echo "Installed userland: ${InstalledUserLandVersion}" > > and based upon that, I knew whether or not I needed to reboot. Well, if you do not reboot, the live system processes would still be based on the old userland files --if any of those were updated. The old kernel would also be running. > > It was fairly simple.  I just ran the script.  No config file changes > needed. I expect that, while rare, needing to touch a configuration file is still a possibility for a patch release. > > > Now, as I understand the pkgbase system, it has gotten a bit more complex. > > I no longer see that easy ability to update from one patch level to the > current patch level within the installed version. > > As I read... > > https://wiki.freebsd.org/PkgBase > > I see examples of "Minor version upgrades."  But no examples of updating > from one patch level to a subsequent patch level within a version. > > Is there a FreeBSD wiki article I have missed? > > thx. > > > > Presuming that the updates have updated in what is accessed by, say,: then: # pkg upgrade -r FreeBSD-base or: # pkg-static upgrade -r FreeBSD-base is a way intended for much of the activity. It will prompt unless you supply specific command line options to avoid such. The command may leave behind *.pkgnew files that should be considered for merging or replacing the older file (the * part of the name). Any *.pkgsave files are the other way around: a new file was put in place and the old one has the new, longer name for consideration of merging content. (Technically an upgrade can cause an install of something new. Not likely for patch releases.) pkgbase is not following the "kernel then reboot then world then reboot" sort of protocol so far. A manual reboot afterwards is probably appropriate unless you know that no file used by the live system was updated. The closest I know of for figuring out ahead of time if the update is available is to use: https://people.freebsd.org/~dbaio/pkg-master-report.html looking for, say, freebsd:15:x86:64 with base_release_1 and seeing what its Timestamp and Elapsed time are if it is 100% Synced with Sync present for that context. This can get into judging time relationships that are not obvious. Otherwise just try the command and see what it reports. -- === Mark Millard marklmi at yahoo.com