You are not logged in.

#1 2020-04-24 12:13:40

InFerYes
Member
Registered: 2012-11-13
Posts: 67

files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

I have just done a large update that required the hplip p11-kit-trust fixes listed on the frontpage. After the update I installed mosh and came across this warning.

WARNING: 2 file(s) in /usr/lib/perl5/5.28 are not tracked by pacman and need to be rebuilt.

[user@hossman ~]$ sudo pacman -S mosh
[sudo] password for user: 
resolving dependencies...
looking for conflicting packages...

Packages (2) perl-io-tty-1.12-9  mosh-1.3.2-11

Total Download Size:   0,21 MiB
Total Installed Size:  0,80 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 perl-io-tty-1.12-9-x86_64                                                                                                               30,0 KiB  1305 KiB/s 00:00 [#####################################################################################################] 100%
 mosh-1.3.2-11-x86_64                                                                                                                   187,4 KiB  3,27 MiB/s 00:00 [#####################################################################################################] 100%
(2/2) checking keys in keyring                                                                                                                                      [#####################################################################################################] 100%
(2/2) checking package integrity                                                                                                                                    [#####################################################################################################] 100%
(2/2) loading package files                                                                                                                                         [#####################################################################################################] 100%
(2/2) checking for file conflicts                                                                                                                                   [#####################################################################################################] 100%
(2/2) checking available disk space                                                                                                                                 [#####################################################################################################] 100%
:: Processing package changes...
(1/2) installing perl-io-tty                                                                                                                                        [#####################################################################################################] 100%
(2/2) installing mosh                                                                                                                                               [#####################################################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Warn about old perl modules
error: No package owns /usr/lib/perl5/5.28
WARNING: 2 file(s) in /usr/lib/perl5/5.28 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.28" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
[user@hossman ~]$ LC_ALL=C find "/usr/lib/perl5/5.28" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(WARNING: 2 file(s) in /usr/lib/perl5/5.28 are not tracked by pacman and need to be rebuilt..*\)$/\1/p'
/usr/lib/perl5/5.28/site_perl/auto/Device/Modbus/TCP/.packlist
/usr/lib/perl5/5.28/core_perl/perllocal.pod

Last edited by InFerYes (2020-04-24 12:45:58)

Offline

#2 2020-04-24 13:13:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

And ... what's your question?

I have a few: what are those to files from?  Why are they there?  Do you need them?  Have you been installing perl packages/modules as root from cpan?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-04-24 13:45:05

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

Mod note: moving to NC


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-04-25 09:51:30

InFerYes
Member
Registered: 2012-11-13
Posts: 67

Re: files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

Trilby wrote:

And ... what's your question?

I have a few: what are those to files from?  Why are they there?  Do you need them?  Have you been installing perl packages/modules as root from cpan?

I don't know. I don't know. I don't know. I don't even know what cpan is, so no, at least not manually.

I guess the obvious question was how do "rebuild" this, as pacman suggests (or fix it in any other way). I don't know why this is moved to NC since I got it during an update.
Can I just remove these? Would it harm the system? Will it cause more problems later if I did? Will pacman keep complaining about this?

Offline

#5 2020-04-25 13:26:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,407

Re: files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

1. yes

2 & 3 maybe some outdated perl stuff will miss it, but running things intended for 5.28 with perl 5.30+ installed will break those things anyway.

4. yes, every time that hook is run.

Tl;DR : removing them does way less harm then keeping them

https://www.archlinux.org/news/perl-lib … th-change/ has some background info


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2020-04-25 13:27:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: files in /usr/lib/perl5/5.28 not tracked by pacman and need rebuilt

On top of that, these files are not code/executable - one is documentation, you could read it to see what it is documentation for.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB