Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2022 19:11:45 +0100
From:      Graham Perrin <grahamperrin@freebsd.org>
To:        questions@freebsd.org
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org>
In-Reply-To: <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------wO606t8NEb3zZZD80mQkrB0t
Content-Type: multipart/mixed; boundary="------------Dc04uSMJjGmTNMF4CKMitDUH";
 protected-headers="v1"
From: Graham Perrin <grahamperrin@freebsd.org>
To: questions@freebsd.org
Message-ID: <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org>
Subject: Re: pkg upgrade vs building from source
References: <CAMtcK2rPSxd0DignXvzw+nNc1U1iYpBjGpN+tqA4zevUO4qkQA@mail.gmail.com>
In-Reply-To: <CAMtcK2rPSxd0DignXvzw+nNc1U1iYpBjGpN+tqA4zevUO4qkQA@mail.gmail.com>

--------------Dc04uSMJjGmTNMF4CKMitDUH
Content-Type: multipart/alternative;
 boundary="------------uycLEkMUMRE9Rim5UOIR0lde"

--------------uycLEkMUMRE9Rim5UOIR0lde
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMDgvMTAvMjAyMiAxNjozNSwgcGF1bCBiZWFyZCB3cm90ZToNCj4gTXkgc2tlcHRpY2lz
bSBvdmVyIHBrZyBkb2luZyB3aGF0IEkgZXhwZWN0IGdyb3dzIGFmdGVyIHJlY2VudCBldmVu
dHMuIA0KPiBJIGRlY2lkZWQgYWZ0ZXIgSSByZWJ1aWx0IHRoaXMgZnJlZWJzZCBpbnN0YW5j
ZSB0aGF0IEkgd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B3aXRoIGRlcGVuZGVuY2llcyBhbmQgd2hhdG5vdCwgaG93IHRvIGRl
Y2lkZT8gU2hvdWxkIHBrZyBpbmNsdWRlIHNvbWUgDQo+IG1vcmUgcm9idXN0IHRlc3Rpbmcg
dG8gZW5zdXJlIHNlcnZpY2VzIGFyZSBhY3R1YWxseSBydW5uaW5nIGFmdGVyIA0KPiB1cGdy
YWRlPyBJIGRvbid0IGtub3cgaWYgaXQgY291bGQgYnV0IEkgc3VwcG9zZSB0aGUgbWFpbnRh
aW5lciBjb3VsZCANCj4gZGV2aXNlIHNvbWUgdGVzdHMsIGxvb2tpbmcgYXQgbG9nZmlsZXPC
oG9yIHdoYXRub3QuDQo+DQo+IEFsbCBpbiBhbGwsIG5vdCBob3cgSSBleHBlY3RlZCB0byBz
cGVuZCBhIGhhbGYgaG91ciBvbiBTYXR1cmRheSANCj4gbW9ybmluZy4gSG93IGRvIG90aGVy
IHBlb3BsZSBtYW5hZ2UgdGhpcz8NCj4NCj4NCj4NCj4gLS0NCj4gUGF1bCBCZWFyZCAvIHd3
dy5wYXVsYmVhcmQub3JnLyA8aHR0cDovL3d3dy5wYXVsYmVhcmQub3JnLz4NCg0KDQpXaGlj
aCB2ZXJzaW9uIG9mIEZyZWVCU0QsIGV4YWN0bHk/DQoNClBhY2thZ2VzIGZyb20gbGF0ZXN0
LCBvciBxdWFydGVybHk/DQoNCmZyZWVic2QtdmVyc2lvbiAta3J1IDsgdW5hbWUgLWFLVQ0K
DQpwa2cgLXZ2IHwgZ3JlcCAtZSB1cmwgLWUgZW5hYmxlZCAtZSBwcmlvcml0eQ0KDQo=
--------------uycLEkMUMRE9Rim5UOIR0lde
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html data-lt-installed=3D"true">
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <div class=3D"moz-cite-prefix">On 08/10/2022 16:35, paul beard wrote:=
<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:CAMtcK2rPSxd0DignXvzw+nNc1U1iYpBjGpN+tqA4zevUO4qkQA@mail.gmai=
l.com">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DU=
TF-8">
      <div dir=3D"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.=C2=A0
        <div><br>
        </div>
        <div>I allowed it to upgrade postfix the other day and
          discovered that it no longer worked; <br>
          Oct =C2=A08 03:15:16 &lt;mail.warn&gt; www postfix/smtp[65148]:=

          warning: unsupported SASL client implementation: cyrus<br>
          Oct =C2=A08 03:15:16 &lt;mail.crit&gt; www postfix/smtp[65148]:=

          fatal: SASL library initialization<br>
          Oct =C2=A08 03:15:17 &lt;mail.warn&gt; www postfix/master[1157]=
:
          warning: process /usr/local/libexec/postfix/smtp pid 65148
          exit status 1<br>
          Oct =C2=A08 03:15:17 &lt;mail.warn&gt; 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.=C2=A0</div>
          <div><br>
          </div>
          <div>I can obviously=C2=A0issue pkg lock against=C2=A0postfix t=
o 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.=C2=A0</d=
iv>
          <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=C2=A0or whatnot.=C2=A0</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?=C2=A0</div=
>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
            --<br>
            Paul Beard / <a href=3D"http://www.paulbeard.org/"
              moz-do-not-send=3D"true">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>
  </body>
  <lt-container></lt-container>
</html>

--------------uycLEkMUMRE9Rim5UOIR0lde--

--------------Dc04uSMJjGmTNMF4CKMitDUH--

--------------wO606t8NEb3zZZD80mQkrB0t
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmNBvWEFAwAAAAAACgkQt2dIb0oY1Avn
9A//UY4AVxSh2B4FJ+REm5Hn5jZWWZyWf5P6X4qMOsewHGGCzJAUDlMlfBX8llyRbwBBxuQEluon
gvaGQH0yVA7xE3unIgTvmubf1/eZlTdYqlsns9ywh++fZrOqIyzBtIovf7cpf/FyX6Pxz5ROamJf
agjnlAjeonezSOUAOjBkUQXq90+i2J1tZ48B73zXPkxH9a/rNi2qdNX4Mh4jwWYUuEMGdM6YmHty
TxmxTrTcyYesazG+KvAgfrKKmJnlGGdX6y9mqnpAhE/uJNdpL6wovsRGeCLpfUEQ5zQFVhoa6scr
lHct6clSEq3tu6GkuIoDh6JRFutkX02sE7sC8kbQYVBT+E6RAOjIomB4c3m2MLOeQD2M49XXfPdA
4e6syr8wDxAzOimCFmrJrHEscXyENhKAWffLo/xOhooFHYuO7qreZlLVDeNWhAyX50HDBOZfxe/b
UyZk3HX7l0iRCwbB5T7KeKxlblVy+Euw5W2HO6YhZOnOe54D6f09gh0t0NPLJigZPbJMoQOcrUsn
oFSet4wnTvX1nAuVa30rCKXQ6CVVCbu6AQbycddhELObl6aVlxGJaL/9NtGZvjWnf9OnRp3Glw+D
rx3pWB9R1241ceZHLiX+GDxCgsVVqLKaAipTKVw6PlM1J9omh7FQc71QdGLc4BbgJS7EDjYlZ+K3
MaA=
=x2Hi
-----END PGP SIGNATURE-----

--------------wO606t8NEb3zZZD80mQkrB0t--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4544587-50bb-55e8-3284-58a76b3a69f7>