You are not logged in.
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.podLast edited by InFerYes (2020-04-24 12:45:58)
Offline
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
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
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
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
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