maintainer-feedback requested: [Bug 260582] ports-mgmt/pkg: spurious self-reinstallation on conflict?

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Dec 2021 00:19:13 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 260582: ports-mgmt/pkg: spurious self-reinstallation on conflict?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260582



--- Description ---
Hello,

I'm attempting to switch from ports to prebuilt packages.

While chasing around bug 260581, I've been switching between mail/postfix
flavours.  Each time I do, I find, e.g.::

  :root@alyzon: pkg install postfix-ldap
  Updating FreeBSD repository catalogue...
  FreeBSD repository is up to date.
  All repositories are up to date.
  Checking integrity... done (1 conflicting)
    - postfix-ldap-3.6.3,1 [FreeBSD] conflicts with postfix-sasl-3.6.3,1
[installed] on /usr/local/bin/mailq
  Checking integrity... done (0 conflicting)
  The following 3 package(s) will be affected (of 0 checked):

  Installed packages to be REMOVED:
	  postfix-sasl: 3.6.3,1

  New packages to be INSTALLED:
	  postfix-ldap: 3.6.3,1 [FreeBSD]

  Installed packages to be REINSTALLED:
	  pkg-1.17.5 [FreeBSD]

  Number of packages to be removed: 1
  Number of packages to be installed: 1
  Number of packages to be reinstalled: 1

  Proceed with this action? [y/N]: 

Why is ports-mgmt/pkg trying to inexplicably (inasmuch as it does not explain
why it is affected by this transaction; compare, e.g., bug 195467) reinstall
itself?

    ~jashank