From nobody Sat Oct 8 23:25:24 2022 X-Original-To: questions@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 4MlLrf0Typz4fJs5 for ; Sat, 8 Oct 2022 23:25:38 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MlLrc5D0rz3XwQ for ; Sat, 8 Oct 2022 23:25:36 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-vs1-xe2f.google.com with SMTP id l127so8251713vsc.3 for ; Sat, 08 Oct 2022 16:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=54+QjSQfP8HQBB/QSvYwOt5NpqU9Z6rQ9peJjtkdlDQ=; b=GbIcat5Q9bbSsP7vEjZ1A3lhLj09POs2EYuWHi56i/q7GF8Td7AvBID1Vq10fMjd44 pa/NXbSxOgfwKCcrmGhe9fuj423UBabZXdglr7JAHblPEO2db6ZqgZ7G5JnXco6wtmcq ZhVkBSlzkyKq9z5bupj6St+t63t27KixDHWGZPHgHQm0z+XYkWO9SIYNof7dJHuOliCW /XrOI/JymuI+c3IPf+W6L+hZbgjV+Af+fRYQu/GlRZBBGnpjOBLZeo339zZg3gcLQTEw g4XYgIqkHDKS++NhUR4Bw/xbT6m+cWxsBrwoFplv7LjmEiQDUSTIguLxARbmJTCSdXFf MxoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=54+QjSQfP8HQBB/QSvYwOt5NpqU9Z6rQ9peJjtkdlDQ=; b=qNKbIOnfFn820ZmVBWfVkHArAdUNPF3lfj4tcwORrl26eCFKf9AAyxTEEPG/IG+34J 1oaRQ+BeUVUh1CXrJe1/9bRl60uY1gZF1fFR9lzL7lg8BiHneRBi8/5LEqNaZF/SLUpK mNNG1FJ8I3BJKPnGkbd+NVLQZPpyv0Pb+lCPota6akmdMfKF5C3RWJZk/5KRjyuFCZDe vbrJigsKqBT8E98Xkmrb0WFWfeh6JEqEK6XOVmCcgkkUGtYHkUAtBHaxtdTMPrr0gA87 bTZvamoeFxdcLcsUAbx1fA6IQVXk2uMuq6Xd+d1r5/iIlUm7sJ784KhhZiy6wyHUmLOq efJQ== X-Gm-Message-State: ACrzQf2tbpVGmMF/k/+s/VpAmbx9ys0298+pTwVcG7kxPPUVlQ/oJ5l8 OuBOj0I4pkf95JR6v8bWKbhyPpPkZ7wBz031ZHYd6EIYEd2dGA== X-Google-Smtp-Source: AMsMyM4x5iI3FCZFR+Z/gVAxLgg9miRulcIJoTPpGC83PvgN9u082pyEXL1RyrCyEjxpsY7FNfYJF+LghVYr/9aoERo= X-Received: by 2002:a05:6102:3310:b0:3a6:c9ec:3594 with SMTP id v16-20020a056102331000b003a6c9ec3594mr6014306vsc.11.1665271535737; Sat, 08 Oct 2022 16:25:35 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com> <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com> In-Reply-To: <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com> From: paul beard Date: Sat, 8 Oct 2022 16:25:24 -0700 Message-ID: Subject: Re: pkg upgrade vs building from source To: Pat Maddox Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000057a17805ea8e3e8b" X-Rspamd-Queue-Id: 4MlLrc5D0rz3XwQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=GbIcat5Q; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2607:f8b0:4864:20::e2f as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.93)[-0.927]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --00000000000057a17805ea8e3e8b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Oct 8, 2022 at 3:34 PM Pat Maddox wrote: > Do you use pkg only, or do you have a mix of ports and packages? I ask > because you mention going back to ports and it working=E2=80=A6 my unders= tanding is > generally you want to use ports xor pkg, not mix them. > > Also you might consider using latest pkg instead of quarterly, as it=E2= =80=99s > going to be more current and thus have any fixes that might not be in > quarterly yet. > > But if you are mixing ports and pkg, I would start there. It=E2=80=99s po= ssible > you have pretty recent ports, mixed with old-ish (quarterly) pkg, and tha= t > could certainly cause issues. > > It would be best to rely on one or the other, to be sure. Pkg handles the registration of ports/pkgs alike so not sure if I can query if a port was built from source or as a pkg. I don't think I have installed many from source, just postfix for certain. That may have been unduly hasty. Further analysis tells me pkg might not be where this originated. A lot of the files in /usr/local/etc/postfix were touched on a date and time when I wasn't available to do that=E2=80=A6so that's interesting. This morning I f= ound that some files were touched at 14:08 on Monday Oct 3. I looked at the weekly mirror/backup and the same files are all dated Sept 6 when I got this all working again. Nothing should have changed between then and now. --00000000000057a17805ea8e3e8b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sat, Oct 8, 2022 at 3:34 PM Pat Maddox= <pat@patmaddox.com> wrote:<= br>
Do you use pkg only, or do you have a mix of port= s and packages? I ask because you mention going back to ports and it workin= g=E2=80=A6 my understanding is generally you want to use ports xor pkg, not= mix them.

Also you might consider using latest pkg instead of quarterly, as it=E2=80= =99s going to be more current and thus have any fixes that might not be in = quarterly yet.

But if you are mixing ports and pkg, I would start there. It=E2=80=99s poss= ible you have pretty recent ports, mixed with old-ish (quarterly) pkg, and = that could certainly cause issues.


It would be best to rely on one or the othe= r, to be sure. Pkg handles the registration=C2=A0of ports/pkgs alike so not= sure if I can query if a port was built from source or as a pkg. I don'= ;t think I have installed many from source, just postfix for certain. That = may have been unduly hasty.=C2=A0

Further analysis=C2=A0tells me pkg might not be= where this originated. A lot of the files in /usr/local/etc/postfix were t= ouched on a date and time when I wasn't available to do that=E2=80=A6so= that's interesting. This morning I found that some files were touched = at 14:08 on Monday Oct 3. I looked at the weekly mirror/backup=C2=A0and the= same files are all dated Sept 6 when I got this all working again. Nothing= should have changed between then and now.=C2=A0
=C2=A0
--00000000000057a17805ea8e3e8b--