Bug 275847 - freebsd-update IDS doesn't detect missing files and directories
Summary: freebsd-update IDS doesn't detect missing files and directories
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 14.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 23:11 UTC by kit-ty-kate
Modified: 2023-12-21 09:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kit-ty-kate 2023-12-19 23:11:57 UTC
I’ve recently upgraded my local FreeBSD install to 14.0-RELEASE-p3, however i seem to have made a mistake in not upgrading to the latest errata first.

This means that I fell into https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661 and the /usr/include/c++/v1/__string/ directory and all its content is missing from my system, which causes me to fail at compiling any basic C++ project.

While trying to debug why those files were missing i came accross the "freebsd-update IDS" command which seemed to be meant to check if my system was correctly installed. However that command does not tell me that this directory is missing.

Here is the only output i got from it:
```
$ freebsd-update IDS
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
/etc/group has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/hosts has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/master.passwd has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/passwd has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/pwd.db has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/shells has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/spwd.db has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/ssh/sshd_config has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/root has 0755 permissions, but should have 0750 permissions.
/var/db/mergemaster.mtree has SHA256 hash XYZ, but should have SHA256 hash XYZ.
```