You are not logged in.

#1 2017-09-03 15:37:01

4ronie4
Member
Registered: 2015-09-24
Posts: 20

[SOLVED] Help rebuilding perl components after library path change

Hi,

I have updated today all perl packages and after installation pacman showed me some warnings. The one quoted at the announcement has been solved rebuilding the AUR packages that needed. But there are two more warnings that are not explicitly quoted on the announcement but i think they are the ones related to CPAN:

WARNING: 1 file(s) in /usr/lib/perl5/core_perl 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/core_perl" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p

WARNING: 12 file(s) in /usr/lib/perl5/site_perl 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/site_perl" -type f -exec pacman -Qqo {} + |& sed -n 's/^error

I have executed those commands and the output is:

/usr/lib/perl5/core_perl/perllocal.pod

/usr/lib/perl5/site_perl/Curses.pm
/usr/lib/perl5/site_perl/IO/Tty/Constant.pm
/usr/lib/perl5/site_perl/IO/Pty.pm
/usr/lib/perl5/site_perl/IO/Tty.pm
/usr/lib/perl5/site_perl/auto/Acme/POE/Tree/.packlist
/usr/lib/perl5/site_perl/auto/Curses/.packlist
/usr/lib/perl5/site_perl/auto/Curses/Curses.so
/usr/lib/perl5/site_perl/auto/IO/Tty/.packlist
/usr/lib/perl5/site_perl/auto/IO/Tty/Tty.so
/usr/lib/perl5/site_perl/auto/IO/Pipely/.packlist
/usr/lib/perl5/site_perl/auto/POE/Test/Loops/.packlist
/usr/lib/perl5/site_perl/auto/POE/.packlist

And now I don't know how to deal with that warnings, I have not installed them with CPAN manually, I suppose all are dependencies. I have tried to execute CPAN with root permissions and then using "install Curses" or "force install Curses" but the Curses still appears in the warning. I think my problem is I'm not experienced with perl.

Last edited by 4ronie4 (2017-09-08 12:20:38)

Offline

#2 2017-09-03 17:09:56

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Help rebuilding perl components after library path change

The warning will appear until you delete those files by hand.

Rebuilding them will mean working versions will be installed in the correct /usr/lib/perl5/5.26/site_perl/ directory


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2017-09-03 21:30:51

4ronie4
Member
Registered: 2015-09-24
Posts: 20

Re: [SOLVED] Help rebuilding perl components after library path change

Eschwartz wrote:

The warning will appear until you delete those files by hand.

Rebuilding them will mean working versions will be installed in the correct /usr/lib/perl5/5.26/site_perl/ directory

Ok, then I'll delete they.

Offline

Board footer

Powered by FluxBB