You are not logged in.

#1 2019-07-16 23:36:35

x-yuri
Member
Registered: 2013-01-06
Posts: 160

[SOLVED] '/usr/lib/perl5/5.30' contains data from at least 45 packa...

Hi,

I've just updated the packages, and got a warning:

[2019-07-17 01:50] [ALPM] running 'detect-old-perl-modules.hook'...
[2019-07-17 01:50] [ALPM-SCRIPTLET] WARNING: '/usr/lib/perl5/5.30' contains data from at least 45 packages which will NOT be used by the installed perl interpreter.
[2019-07-17 01:50] [ALPM-SCRIPTLET]  -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.30'

Running the suggested command gives me:

$ pacman -Qqo '/usr/lib/perl5/5.30'
collectd
imagemagick
libproxy
perl
perl-capture-tiny
perl-cgi
perl-cgi-fast
perl-cpan-perl-releases
perl-date-manip
perl-devel-patchperl
perl-encode-locale
perl-error
perl-fcgi
perl-file-copy-recursive
perl-file-listing
perl-file-path-tiny
perl-file-pushd
perl-html-parser
perl-html-tagset
perl-html-template
perl-html-template-expr
perl-http-cookies
perl-http-daemon
perl-http-date
perl-http-message
perl-http-negotiate
perl-io-html
perl-io-socket-inet6
perl-libwww
perl-local-lib
perl-log-log4perl
perl-lwp-mediatypes
perl-mailtools
perl-module-pluggable
perl-net-http
perl-net-server
perl-socket6
perl-timedate
perl-try-tiny
perl-uri
perl-www-robotrules
perlbrew
rrdtool
subversion
xfconf

The ones I probably installed myself are subversion, imagemagick, perlbrew, and maybe rrdtool. I doubt I installed them from AUR, since they are present in the official repositories. Grepping through PKGBUILDs of the installed AUR packages reveals nothing.

Shouldn't the packages coming from the official repositories be built against my current version of Perl?

I now have Perl 5.30 installed. And Pacman complains about /usr/lib/perl5/5.30. My understanding is that if a package was put into this directory, it was built against Perl 5.30. A bug in the hook? Am I missing something?

UPD To make it clear I install packages from AUR by cloning them to ~/build/* and running makepkg -si. The packages listed by Pacman above do not exist in ~/build.

Last edited by x-yuri (2019-10-06 02:41:23)

Offline

#2 2019-07-17 01:40:43

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [SOLVED] '/usr/lib/perl5/5.30' contains data from at least 45 packa...

https://www.archlinux.org/news/perl-lib … th-change/
if there is still /usr/lib/perl5/5.XX (XX < .30) remove it


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#3 2019-07-17 01:44:49

x-yuri
Member
Registered: 2013-01-06
Posts: 160

Re: [SOLVED] '/usr/lib/perl5/5.30' contains data from at least 45 packa...

Only 5.30:

$ ls /usr/lib/perl5
5.30

Offline

#4 2019-10-06 02:40:31

x-yuri
Member
Registered: 2013-01-06
Posts: 160

Re: [SOLVED] '/usr/lib/perl5/5.30' contains data from at least 45 packa...

I have perlbrew installed. So, when I update packages via sudo, it takes version of perl supplied by perlbrew. Hence the warning.

Offline

Board footer

Powered by FluxBB