Solved Missing File Message In Daily Security Run Output Since Perl Upgrade

Hello,

Since I upgraded spamassassin using the pkg utility (which also automatically upgraded perl ) the daily security run output shows the following messages:

Code:
Checking for packages with security vulnerabilities:
Database fetched: Tue Jan 21 04:00:37 UTC 2020
spamassassin-3.4.2_3
perl5.28-5.28.2: Tag: expiration_date Value: 2021-06-22
perl5.28-5.28.2: Tag: deprecated Value: Support end three years after .0 release, please upgrade to a more recent version of Perl

Checking for packages with mismatched checksums:
perl5-5.30.0: missing file /usr/local/bin/corelist
perl5-5.30.0: missing file /usr/local/bin/cpan
perl5-5.30.0: missing file /usr/local/bin/enc2xs
perl5-5.30.0: missing file /usr/local/bin/encguess
perl5-5.30.0: missing file /usr/local/bin/h2ph
perl5-5.30.0: missing file /usr/local/bin/h2xs
perl5-5.30.0: missing file /usr/local/bin/instmodsh
perl5-5.30.0: missing file /usr/local/bin/json_pp
perl5-5.30.0: missing file /usr/local/bin/libnetcfg
perl5-5.30.0: missing file /usr/local/bin/perl
perl5-5.30.0: missing file /usr/local/bin/perlbug
perl5-5.30.0: missing file /usr/local/bin/perldoc
perl5-5.30.0: missing file /usr/local/bin/perlivp
perl5-5.30.0: missing file /usr/local/bin/perlthanks
perl5-5.30.0: missing file /usr/local/bin/piconv
perl5-5.30.0: missing file /usr/local/bin/pl2pm
perl5-5.30.0: missing file /usr/local/bin/pod2html
perl5-5.30.0: missing file /usr/local/bin/pod2man
perl5-5.30.0: missing file /usr/local/bin/pod2text
perl5-5.30.0: missing file /usr/local/bin/pod2usage
perl5-5.30.0: missing file /usr/local/bin/podchecker
perl5-5.30.0: missing file /usr/local/bin/podselect
perl5-5.30.0: missing file /usr/local/bin/prove
perl5-5.30.0: missing file /usr/local/bin/ptar
perl5-5.30.0: missing file /usr/local/bin/ptardiff
perl5-5.30.0: missing file /usr/local/bin/ptargrep
perl5-5.30.0: missing file /usr/local/bin/shasum
perl5-5.30.0: missing file /usr/local/bin/splain
perl5-5.30.0: missing file /usr/local/bin/xsubpp
perl5-5.30.0: missing file /usr/local/bin/zipdetails
perl5-5.30.0: missing file /usr/local/etc/man.d/perl5.conf
perl5-5.30.0: missing file /usr/local/libdata/ldconfig/perl5

-- End of security output --

Everything is working properly, spamassassin works as expected. What is causing these messages to be printed and what can I do to solve this? I install everything from packages and have never mixed ports and packages. I have the following installed:


# pkg info | grep perl
perl5-5.30.0 Practical Extraction and Report Language
perl5.28-5.28.2 Practical Extraction and Report Language

# pkg info | grep spamassassin
spamassassin-3.4.2_3 Highly efficient mail filter for identifying spam



Thank you
 
Try forcing a reinstall: pkg install -f perl5. Then check the filelist of the package to see if it includes those files (it should): pkg info -l perl5
 
There is something definitely odd about the most recent Perl5 upgrade. After it completed the file /usr/local/bin/perl was missing from my FreeBSD-12.0 system and the file /usr/local/bin/perl5.30.1 was a soft link to the non-existent /usr/local/bin/perl. Fortunately running pkg install -f perl5 resolved that problem. Still, it is a concern that this even happened at all.
 
After it completed the file /usr/local/bin/perl was missing from my FreeBSD-12.0 system and the file /usr/local/bin/perl5.30.1 was a soft link to the non-existent /usr/local/bin/perl.
I suspect this is because you have perl5 and perl5.28 installed. Do you really need perl5.28? Make sure to run pkg autoremove regularly, so orphaned dependencies are removed.
 
Back
Top