I just did a system update on Arch Linux (pacman -Syu) and saw a warning about there being old Perl modules:
WARNING: '/usr/lib/perl5/site_perl' contains data from at least 2 packages which will NOT be used by the installed perl interpreter. -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/site_perl' WARNING: '/usr/lib/perl5/vendor_perl' contains data from at least 8 packages which will NOT be used by the installed perl interpreter. -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/vendor_perl' Running the recommended commands yielded the following:
$ pacman -Qqo '/usr/lib/perl5/site_perl' gscan2pdf perl-filesys-df $ pacman -Qqo '/usr/lib/perl5/vendor_perl' perl-config-general perl-data-uuid perl-goo-canvas perl-gtk2-ex-simple-list perl-gtk2-imageview perl-pdf-api2 perl-sane perl-set-intspan I encountered something similar once before when the version of Perl was updated. If I recall correctly those Perl packages needed to be rebuilt; however, I do not remember where I found the incantation to do this. Please note that I have absolutely no experience with Perl. Those modules are simply used by gscan2pdf which I installed through AUR. How do I rebuild these Perl modules?
yoptions topacman -S, as this fully rebuilds your sync database unconditionally, rather than simply retrieving deltas.-Syyis only necessary when your sync database has become corrupt somehow. Doing this regularly provides no additional benefit and merely wastes bandwidth for both you and the mirror you're using.