Yesterday I found that the RPM database on my Fedora Core 6 linux system’s were corrupted and that the regularly running update process was failing (without telling me, unfortunately).
After fixing the RPM database problem (rm -f /var/lib/rpm/__db.* && rpm -vv --rebuilddb
) and running the update (yum update), I found that SpamAssassin’s update process wasn’t working anymore.
root@rivendell ~]# sa-update
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
Apparently one of the updates that were applied in the mass update caused SpamAssassin to break.
The same problem occurred when I tried to test the SpamAssassin rules.
root@rivendell ~]# spamassassin --lint
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
A bit of research turned up this link.
Luckily the fix was fairly easy … just update the Scalar-List-Utils CPAN package …
perl -MCPAN -e 'install "G/GB/GBARR/Scalar-List-Utils-1.18.tar.gz"
… and everything worked fine again.