Perl an module perl

Hello everyone yesterday I must have made some mess.
now I have following errors with perl:

( 4/12) Warn about old perl modules
WARNING: '/usr/lib/perl5/5.26' contains data from at least 1 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/5.26'
WARNING: 33 file(s) in /usr/lib/perl5/5.26 are not tracked by pacman and need to be rebuilt.
 -> These were most likely installed directly by cpan or a similar tool.
    Run the following command to get a list of these files:
    LC_ALL=C find "/usr/lib/perl5/5.26" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
( 5/12) Updating icon theme caches...
( 6/12) Reloading system manager configuration...
( 7/12) Creating system user accounts...
( 8/12) Creating temporary files...
( 9/12) Reloading device manager configuration...
(10/12) Arming ConditionNeedsUpdate...
(11/12) Updating the info directory file...
(12/12) Updating the desktop file MIME type cache...
[don@don-pc ~]$


[don@don-pc ~]$ pacman -Qqo '/usr/lib/perl5/5.26'
[sudo] password di don:
perl-linux-desktopfiles
[don@don-pc ~]$ LC_ALL=C find "/usr/lib/perl5/5.26" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Util/idna.pl
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Util/uts46data.pl
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Debug.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Socket.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Util.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/IO.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Log.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Strict.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Perl.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/POE.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Glib.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/EV.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Event.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Irssi.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Tk.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Qt.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/Cocoa.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/IOAsync.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/EventLib.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/UV.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Impl/FLTK.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/TLS.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Loop.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/DNS.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/constants.pl
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/IO/Perl.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/IO/IOAIO.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent/Handle.pm
/usr/lib/perl5/5.26/vendor_perl/Curses.pm
/usr/lib/perl5/5.26/vendor_perl/auto/Curses/Curses.so
/usr/lib/perl5/5.26/vendor_perl/auto/Locale/gettext_xs/gettext_xs.so
/usr/lib/perl5/5.26/vendor_perl/AE.pm
/usr/lib/perl5/5.26/vendor_perl/AnyEvent.pm
[don@don-pc ~]$

I do not understand anything about cpan and perl.
thank you

after removing the listed files I get this error

[don@don-pc ~]$yaourt -S perl
[sudo] password di don: 
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) perl-5.28.0-1

Dimensione totale dei pacchetti da installare:  57,47 MiB
Dimensione netta dell'aggiornamento:             5,50 MiB

:: Vuoi procedere con l'installazione? [S/n] s
(1/1) verifica delle chiavi presenti nel porta...  [----------------------] 100%
(1/1) verifica dell'integrità dei pacchetti        [----------------------] 100%
(1/1) caricamento dei file dei pacchetti           [----------------------] 100%
(1/1) controllo dei conflitti in corso             [----------------------] 100%
(1/1) controllo dello spazio disponibile sul d...  [----------------------] 100%
:: Elaborazione delle modifiche al pacchetto...
(1/1) aggiornamento in corso di perl               [----------------------] 100%
:: Esecuzione degli hook di post-transazione...

(1/2)errore: Nessun pacchetto contiene /usr/lib/perl5/5.26
(2/2) Arming ConditionNeedsUpdate...
No database errors have been found!
[don@don-pc ~]$ 

error: No package contains /usr/lib/perl5/5.26

2 Likes

Yea Perl seems to have gone through a few deprecations. Glad you got it sorted out on your own.

Cheers

2 Likes