Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2022 16:25:24 -0700
From:      paul beard <paulbeard@gmail.com>
To:        Pat Maddox <pat@patmaddox.com>
Cc:        questions@freebsd.org
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <CAMtcK2qfE=HLtYCMxF=0XW1bateO9Hv7N4bW%2BjQ34gBh4sAF_Q@mail.gmail.com>
In-Reply-To: <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org> <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com> <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com> <CAMtcK2qLsodE2QSE7uLZkoRRo7ogHNmfHGJAHTR9g2ZP8HgpfQ@mail.gmail.com> <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, Oct 8, 2022 at 3:34 PM Pat Maddox <pat@patmaddox.com> 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… 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’s
> 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’s possible
> 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 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…so 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 and the same files are all dated Sept 6 when I got
this all working again. Nothing should have changed between then and now.

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 8, 2022 at 3:34 PM Pat Maddox &lt;<a href="mailto:pat@patmaddox.com">pat@patmaddox.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">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… my understanding is generally you want to use ports xor pkg, not mix them.<br>
<br>
Also you might consider using latest pkg instead of quarterly, as it’s going to be more current and thus have any fixes that might not be in quarterly yet.<br>
<br>
But if you are mixing ports and pkg, I would start there. It’s possible you have pretty recent ports, mixed with old-ish (quarterly) pkg, and that could certainly cause issues.<br>
<br></blockquote><div><br></div>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&#39;t think I have installed many from source, just postfix for certain. That may have been unduly hasty. </div><div class="gmail_quote"><br></div><div class="gmail_quote">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&#39;t available to do that…so that&#39;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 and the same files are all dated Sept 6 when I got this all working again. Nothing should have changed between then and now. </div><div class="gmail_quote"><div> </div></div><div dir="ltr" class="gmail_signature"><br></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2qfE=HLtYCMxF=0XW1bateO9Hv7N4bW%2BjQ34gBh4sAF_Q>