[Bug 258357] pkgbase upgrade leaves FreeBSD-utilities effectively uninstalled

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Sep 2021 02:28:51 UTC

            Bug ID: 258357
           Summary: pkgbase upgrade leaves FreeBSD-utilities effectively
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

Created attachment 227752
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227752&action=edit
pkg log messages

I did a "pkg upgrade" on a desktop system using a pkgbase repo.  When upgrading
to a repo built from commit c751d067c166db71ce8bf3a323c62ac3428bd32a, a number
of packages were upgraded but at some point post-install scripts started
failing due to a missing cap_mkdb(1).

I don't have the pkg output anymore, though I will try upgrading another host
to see if I can reproduce this.  I attached a snippet of /var/log/messages
containing pkg messages.  The FreeBSD-libbsdxml and FreeBSD-libregex packages
were uninstalled, I guess because of commits
30975efbaff0a021545e81bd9fa09d848edfaafa and
dfa9131d709121b2e502a82ff66cf3e376654942.  Then,
FreeBSD-utilities-14.snap20210907220446 is installed, not upgraded.  Later,
FreeBSD-utilities-14.snap20210827204353 is uninstalled, which seems to be where
the problem starts.

You are receiving this mail because:
You are the assignee for the bug.