From nobody Fri Apr 24 10:10:07 2026 X-Original-To: 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 4g27xf1mytz6Zy4l for ; Fri, 24 Apr 2026 10:10:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (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 4g27xd56h0z3bdy for ; Fri, 24 Apr 2026 10:10:13 +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=1777025410; bh=NtlcoHCIzd02l6lPafhpxTKwx8bOUbmBNWyQM5DR6IY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=lxuhHYm1GHXCR8rhAQgBFvyoNnZDf9uuQP60P5y5gjEldGxUxR/j1Y4oBc2kInXNsuPPPb9sgVQbOKMBjkuI8Pk//fHfbZIhkOO+4kmgkpLwMHArEiiiw0WaVavyK/Ko6qZ+6hDjjop073fU+wrsnFMDfi6iEpEi2Y5Ds5kdnTYk0yeOY3VSt+sRr/bMOXQb0n74exL2RKl2n532+QaK5h1B7j08BvJ84ugZZHMXAbAVhNAUr5MJhq2wuaCTGl6W67QnWst/Go8aXpUEbnq7ZvdBhjw0295HMoOyMBXjikPCWhasoZ/LG/8f3ashAKQ34CIDJ8dxvtIHXp6AHCW6Tw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1777025410; bh=NzMqCGI6Z/5+11OGu8bDYPrOfn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G.VUJFMtaKHR4FdpAY6OPrOBQ4ZIpLR7y391RZdh90x819iWdLJ.y2vH8CZqpMv bXX1QsqNRjOuI4WHiNWbdcuKjoDrpyX93o39oYywX0xvh.5s_GYx8LV8W1zW1MoCtTY_dVRJj_mB 6KTaGyjBFmj8geM9_3YRDttCuFIHINVVjpMbmNqsX2Smov9_Qmpg6zxd.eDR9FjvWZD6Um9DoB8L AdjQoYssA_spI4Bwt96Ifeh3rsbRMps7ePXOVSev9k3pOMp2ubgXrFlM7ksi.7bzEvPyAZDyRJ9R .jeL01qy3PJH48Hx40uhiykgQ1uuEvGiS.EyUtEMVz_KD2aqfEO0xVwdowZxJhAt1EwE64rCgJ5w MyZh0p7ZNwBkx9eogK3jN5rAt25Y4pFZqh0DA.iAuSUJomB7JKuC88lRlqZ9xJ5FLfAteNmDThUB TfzT37afJtQDF6277RXMudJS2GIvXNI0UxunGksAVkpekYp5WFFcSRC0Kfks5jFIhp4NAw_Dg_yf ZOefmdsc2Lu.RM9HNjP2foM9t6JCpGU6_GmwHBKRp3yO_5jcCIXjpZGySf6JKsmay8ujKAM5LwBk R2R75KmHDd6Ul_JSEYd1CdDPv3tfQLYn90ig7RR.vSRi1wBNP_A-- X-Sonic-MF: X-Sonic-ID: d8e342b6-58cc-42a8-a01d-1d4f2e45d3e3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 24 Apr 2026 10:10:10 +0000 Received: by hermes--production-gq1-7bb7df5c46-bdzch (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5c11ae9ac71a3e927e7f24e51d64e792; Fri, 24 Apr 2026 10:10:08 +0000 (UTC) Message-ID: <351d3db5-19d0-4652-a44e-b029a8105937@yahoo.com> Date: Fri, 24 Apr 2026 03:10:07 -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 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [HEADS UP] stable/15: new base packages for PAM, zstd To: Anton Shterenlikht Cc: stable@freebsd.org, pkgbase@freebsd.org References: <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com> <700c882a-ae24-403a-a8e0-5ceffed569ae@yahoo.com> Content-Language: en-US From: Mark Millard In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.25559 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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: 4g27xd56h0z3bdy X-Spamd-Bar: ---- On 4/24/26 01:09, Anton Shterenlikht wrote: > On Thu, Apr 23, 2026 at 09:54:41AM -0700, Mark Millard wrote: >> On 4/23/26 01:13, Anton Shterenlikht wrote: >>> On Wed, Apr 22, 2026 at 10:18:39PM +0100, Lexi Winter wrote: >>>> Anton Shterenlikht wrote in : >>>>> On Tue, Apr 21, 2026 at 12:52:43PM -0700, Mark Millard wrote: >>>>>> On 4/21/26 08:52, Anton Shterenlikht wrote: >>>>>>> On Tue, Apr 07, 2026 at 12:30:50PM +0100, Lexi Winter wrote: >>>>>>> I recently upgraded Lenovo T480 laptop from some 14.x relase to 15.0-RELEASE-p4. >>>>>>> I'm still figuring out the use of pkg for base upgrades. >>>>>>> >>>>>>> For a few weeks all was working more or less well (some unexpected >>>>>>> reboots, but I had no time to dig into that). >>>>>>> >>>>>>> After reading your mail, I typed the pkg query command you suggested, >>>>>>> which returned nothing. >>>>>>> I then did "pkg install FreeBSD-set-minimal". >>>>>>> When that completed, I realised that my user is gone.... >>>>>>> >>>>>>> Looking at /etc/passwd and /etc/master.passwd I see that indeed >>>>>>> my user is not there anymore. >>>>>> >>>>>> Did you end up with the likes of: >>>>>> >>>>>> /etc/passwd.pkgsave >>>>>> /etc/master.passwd.pkgsave >>>>> >>>>> Yes, I have /etc/master.passwd.pkgsave >>>>> >>>>> So what happened? >>>>> Is it expected that "pkg install FreeBSD-set-minimal" >>>>> should erase all ordinary users from /etc/master.passwd >>>>> and save the original file as /etc/master.passwd.pkgsave? >>>> >>>> no, something has gone wrong here. >>>> >>>> how did you install this system? >>>> >>>> /etc/master.passwd is in the FreeBSD-runtime package, which must always >>>> be installed on a pkgbase system. the only reason 'pkg upgrade' would >>>> overwrite it with a pristine copy is if you somehow didn't have that >>>> package installed, but if that was the case, the system would already >>>> be completely non-functional. >>>> >>>> the only way i can imagine this happening if you had a non-pkgbase >>>> system, then installed FreeBSD-runtime (e.g., as a dependency of >>>> FreeBSD-set-minimal), but this should not be possible in a normal >>>> non-pkgbase installation since the FreeBSD-base repository won't >>>> be enabled. >>> >>> I admit I got a bit complacent... doing major and minor >>> updates with freebsd-update for years about any issue, >>> that I stopped reading UPDATING, and such. >>> So all this is my fault probably. >>> >>> I used freebsd-update to upgrade from some 14.4 to 15.0. >> >> So 14.* was never in pkgbase form? > > correct > >> >>> >>> Once on 15.0, when updating ports, I noticed some differences, >>> read some posts, and found out about pkgbase. >> >> So the conversion to pkgbase started from a pnon-pkgbase 15.0 to produce >> a pkgbase 15.0? > > Not sure, maybe I never converted. > What does it mean to have a "pkgbase" system? It seems that you have some sort of partial update to pkgbase. What do the following show: # pkg -v # pkg repos -d # pkg repos -e # pkg info FreeBSD-\* That last could produce over 500 lines. > How can I check? > > BTW, I noticed that my versions diverged somehow: > > # freebsd-version -kru > 15.0-RELEASE-p4 > 15.0-RELEASE-p4 > 15.0-RELEASE-p6 This is what happens when one of the following is true: ) only the world had updates available, the kernel had no changes ) there were kernel updates that were not applied > >> >> Did you use https://github.com/FreeBSDFoundation/pkgbasify to do the >> conversion (no matter which FreeBSD version was the starting point)? > > no > > Does this mean my system is *not* a pkgbase system? You appear to have at least some pkgbase packages installed, but possibly not an appropriate set of them. > I.e. one must use pkgbasify, as per > https://wiki.freebsd.org/action/show/pkgbase > to convert an non-pkgbase 15.0 to a pkgbase 15.0? For your conversion . . . Did you try to follow the steps of the "Manual initial setup", despite them being older than covering conversion for 15.0? Did you instead try one of the U[pgrades proedures (Minor vs. Major?)? "13 to 14"? "Building'? > > I assumed that all I need is /etc/pkg/FreeBSD.conf > with ports, ports-kmods and FreeBSD-base. You had to use something that involved actual pkg commands in order to have the .pkgsave files generated. Merely having the configuration file(s) present would not cause that. > > Time to rtfm I guess... > > Thank you > > Anton > > -- === Mark Millard marklmi at yahoo.com