[Bug 294922] pkg remove reports missing file in a non-existent path
Date: Fri, 01 May 2026 01:22:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294922
Bug ID: 294922
Summary: pkg remove reports missing file in a non-existent path
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: jszhao@yeah.net
After pkg upgrade, I have found some compatibility libraries saved during the
package upgrade:
root@epyc:~ # pkg info | grep backup
cpdup-1.22_1 Comprehensive filesystem mirroring and backup
program
libunibreak-backup-libunibreak.so.6-20260427091923 Compatibility libraries
saved during package upgrade
openjph-backup-libopenjph.so.0.26-20260430094301 Compatibility libraries saved
during package upgrade
I tried to remove them, and it finished without error; however, there is
something strange:
root@epyc:~ # pkg remove *-backup-*
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages (of 0 packages
in the universe):
Installed packages to be REMOVED:
libunibreak-backup-libunibreak.so.6: 20260427091923
openjph-backup-libopenjph.so.0.26: 20260430094301
Number of packages to be removed: 2
Proceed with deinstalling packages? [y/N]: y
[1/2] Deinstalling libunibreak-backup-libunibreak.so.6-20260427091923...
[1/2] Deleting files for libunibreak-backup-libunibreak.so.6-20260427091923:
0%
libunibreak-backup-libunibreak.so.6-20260427091923: missing file
/root/usr/local/lib/compat/pkg/libunibreak.so.6
[1/2] Deleting files for libunibreak-backup-libunibreak.so.6-20260427091923:
100%
[2/2] Deinstalling openjph-backup-libopenjph.so.0.26-20260430094301...
[2/2] Deleting files for openjph-backup-libopenjph.so.0.26-20260430094301: 0%
openjph-backup-libopenjph.so.0.26-20260430094301: missing file
/root/usr/local/lib/compat/pkg/libopenjph.so.0.26
[2/2] Deleting files for openjph-backup-libopenjph.so.0.26-20260430094301: 100%
The missing files are actually in /usr/local/lib/compat/pkg/, I don't know why
/root is there.
--
You are receiving this mail because:
You are the assignee for the bug.