[Bug 284264] ports-mgmt/pkg after upgrade to 2.0 check -d reports missing system libs

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Jan 2025 09:59:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284264

Oleg Streejak <oleg@pcbtech.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|Closed                      |In Progress

--- Comment #3 from Oleg Streejak <oleg@pcbtech.ru> ---
(In reply to Baptiste Daroussin from comment #2)
well done, thank you for your work and time! But once again I get int the error
and it seems to me that it's a related case. That's another server, look at it
please:

$ pkg autoremove
Checking integrity... done (0 conflicting)
Nothing to do.

$ pkg check -sda
Checking all packages: 100%
samba419 is missing a required shared library: libarchive.so.13

$ pkg info -lx samba | g bin/ | xargs ldd | & g '^/|found|libarchive.so' | g
-B1 'found|libarchive.so'
/usr/local/bin/smbclient:
        libarchive.so.13 => /usr/local/lib/libarchive.so.13 (0x19fe9ec5a000)

$ pkg which /usr/local/lib/libarchive.so.13
/usr/local/lib/libarchive.so.13 was installed by package libarchive-3.7.7_1,1

$ l /usr/local/lib/libarchive.so.13
lrwxr-xr-x  1 root wheel uarch   20B Jan 22 17:49
/usr/local/lib/libarchive.so.13@ -> libarchive.so.13.7.7

everything is up to date, ldd prints no dynamic dependency error but pkg does.

I've tried to reinstall libarchive (i prefer portmaster), but all in vain.

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