Date: Sat, 8 Oct 2022 13:18:28 -0700 From: paul beard <paulbeard@gmail.com> To: Graham Perrin <grahamperrin@freebsd.org> Cc: questions@freebsd.org Subject: Re: pkg upgrade vs building from source Message-ID: <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com> In-Reply-To: <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org> References: <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
>
> Which version of FreeBSD, exactly?
>
FreeBSD www.paulbeard.org 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC
i386
> Packages from latest, or quarterly?
>
Hm…whatever pkg update pulls
freebsd-version -kru ; uname -aKU
>
See above.
pkg -vv | grep -e url -e enabled -e priority
pkg -vv | grep -e url -e enabled -e priority
url : "pkg+http://pkg.FreeBSD.org/FreeBSD:12:i386/quarterly
",
enabled : yes,
priority : 0,
On Sat, Oct 8, 2022 at 11:12 AM Graham Perrin <grahamperrin@freebsd.org>
wrote:
> On 08/10/2022 16:35, paul beard wrote:
>
> My skepticism over pkg doing what I expect grows after recent events. I
> decided after I rebuilt this freebsd instance that I would say goodbye to
> installing from source and allow pkg to manage it all. Surely by now, it's
> mature enough to handle it.
>
> Reader, it is not.
>
> I allowed it to upgrade postfix the other day and discovered that it no
> longer worked;
> Oct 8 03:15:16 <mail.warn> www postfix/smtp[65148]: warning: unsupported
> SASL client implementation: cyrus
> Oct 8 03:15:16 <mail.crit> www postfix/smtp[65148]: fatal: SASL library
> initialization
> Oct 8 03:15:17 <mail.warn> www postfix/master[1157]: warning: process
> /usr/local/libexec/postfix/smtp pid 65148 exit status 1
> Oct 8 03:15:17 <mail.warn> www postfix/master[1157]: warning:
> /usr/local/libexec/postfix/smtp: bad command startup -- throttling
>
> I went to the port directory and did a deinstall/reinstall and all is
> well. Postfix flush cleared out the test emails I had queued up and no
> errors in maillog. No changes to teh configuration files, it just worked
> properly after a proper install.
>
> I can obviously issue pkg lock against postfix to ensure it's left alone
> but I have to wonder how many other ports are similarly not ready for prime
> time after pkg gets involved? One of the reasons I tried freebsd, all the
> way back to release 4.11, is that rpm in the linux world was a massive pile
> of inconsistency. The ports system was so coherent and well managed: I
> preferred the cathedral to the bazaar, as a book of the period described
> that time.
>
> I suppose not trusting pkg with ports you rely on seems reasonable but
> with dependencies and whatnot, how to decide? Should pkg include some more
> robust testing to ensure services are actually running after upgrade? I
> don't know if it could but I suppose the maintainer could devise some
> tests, looking at logfiles or whatnot.
>
> All in all, not how I expected to spend a half hour on Saturday morning.
> How do other people manage this?
>
>
>
> --
> Paul Beard / www.paulbeard.org/
>
>
> Which version of FreeBSD, exactly?
>
> Packages from latest, or quarterly?
>
> freebsd-version -kru ; uname -aKU
>
> pkg -vv | grep -e url -e enabled -e priority
>
--
Paul Beard / www.paulbeard.org/
[-- Attachment #2 --]
<div dir="ltr"><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">Which version of FreeBSD, exactly?<span class="gmail-Apple-converted-space"> <br></span></blockquote><div> </div>FreeBSD <a href="http://www.paulbeard.org">www.paulbeard.org</a> 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC  i386<br><div> </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"><span class="gmail-Apple-converted-space"></span>Packages from latest, or quarterly?<span class="gmail-Apple-converted-space"> <br></span></blockquote><div><br></div><div>Hm…whatever pkg update pulls  </div><div><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"><span class="gmail-Apple-converted-space"></span>freebsd-version -kru ; uname -aKU<br></blockquote><div>See above.  </div><div><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">pkg -vv | grep -e url -e enabled -e priority</blockquote><div><br></div>pkg -vv | grep -e url -e enabled -e priority<div><br>  url       : "pkg+<a href="http://pkg.FreeBSD.org/FreeBSD:12:i386/quarterly">http://pkg.FreeBSD.org/FreeBSD:12:i386/quarterly</a>",<br>  enabled     : yes,<br>  priority     : 0,<br><div> </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 8, 2022 at 11:12 AM Graham Perrin <<a href="mailto:grahamperrin@freebsd.org">grahamperrin@freebsd.org</a>> 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">
<div>
<div>On 08/10/2022 16:35, paul beard wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">My skepticism over pkg doing what I expect grows
after recent events. I decided after I rebuilt this freebsd
instance that I would say goodbye to installing from source and
allow pkg to manage it all. Surely by now, it's mature enough to
handle it. <br>
<br>
Reader, it is not.Â
<div><br>
</div>
<div>I allowed it to upgrade postfix the other day and
discovered that it no longer worked; <br>
Oct  8 03:15:16 <mail.warn> www postfix/smtp[65148]:
warning: unsupported SASL client implementation: cyrus<br>
Oct  8 03:15:16 <mail.crit> www postfix/smtp[65148]:
fatal: SASL library initialization<br>
Oct  8 03:15:17 <mail.warn> www postfix/master[1157]:
warning: process /usr/local/libexec/postfix/smtp pid 65148
exit status 1<br>
Oct  8 03:15:17 <mail.warn> www postfix/master[1157]:
warning: /usr/local/libexec/postfix/smtp: bad command startup
-- throttling
<div><br>
</div>
<div>I went to the port directory and did a
deinstall/reinstall and all is well. Postfix flush cleared
out the test emails I had queued up and no errors in
maillog. No changes to teh configuration files, it just
worked properly after a proper install. </div>
<div><br>
</div>
<div>I can obviously issue pkg lock against postfix to ensure
it's left alone but I have to wonder how many other ports
are similarly not ready for prime time after pkg gets
involved? One of the reasons I tried freebsd, all the way
back to release 4.11, is that rpm in the linux world was a
massive pile of inconsistency. The ports system was so
coherent and well managed: I preferred the cathedral to the
bazaar, as a book of the period described that time. </div>
<div><br>
</div>
<div>I suppose not trusting pkg with ports you rely on seems
reasonable but with dependencies and whatnot, how to decide?
Should pkg include some more robust testing to ensure
services are actually running after upgrade? I don't know if
it could but I suppose the maintainer could devise some
tests, looking at logfiles or whatnot. </div>
<div><br>
</div>
<div>All in all, not how I expected to spend a half hour on
Saturday morning. How do other people manage this? </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
--<br>
Paul Beard / <a href="http://www.paulbeard.org/" target="_blank">www.paulbeard.org/</a></div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>Which version of FreeBSD, exactly? <br>
</p>
<p>Packages from latest, or quarterly? <br>
</p>
<p>freebsd-version -kru ; uname -aKU</p>
<p>pkg -vv | grep -e url -e enabled -e priority<br>
</p>
</div>
<u></u><u></u>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Paul Beard / <a href="http://www.paulbeard.org/" target="_blank">www.paulbeard.org/</a><br></div>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw>
