You are not logged in.
As the title says, the directory is not owned by anything, and it appears when running lostfiles.
The same goes for a number of packages inside /usr/share/perl5/site_perl/
I used CPAN a few times in the past, but I stopped since I noticed that pacman manages perl packages.
Examples from lostfiles:
/usr/bin/site_perl/bro-perl
/usr/bin/site_perl/config_data
/usr/bin/site_perl/corelist
/usr/bin/site_perl/cpan
/usr/bin/site_perl/cpandb
/usr/bin/site_perl/cpanm
/usr/bin/site_perl/cpan-mirrors
/usr/bin/site_perl/cpansign
/usr/bin/site_perl/crc32
/usr/bin/site_perl/dbilogstrip
/usr/bin/site_perl/dbiprof
/usr/bin/site_perl/dbiproxy
/usr/bin/site_perl/dm_date
/usr/bin/site_perl/dm_zdump
/usr/bin/site_perl/enc2xs
/usr/bin/site_perl/encguess
/usr/bin/site_perl/exiftool
/usr/bin/site_perl/findrule
/usr/bin/site_perl/instmodsh
/usr/bin/site_perl/json_pp
/usr/bin/site_perl/l4p-tmpl
/usr/bin/site_perl/lwp-download
/usr/bin/site_perl/lwp-dump
/usr/share/perl5/site_perl/Convert/Color/RGB16.pm
/usr/share/perl5/site_perl/Convert/Color/RGB8.pm
/usr/share/perl5/site_perl/Convert/Color/RGB.pm
/usr/share/perl5/site_perl/Convert/Color/VGA.pm
/usr/share/perl5/site_perl/Convert/Color/X11.pm
/usr/share/perl5/site_perl/Convert/Color/XTerm.pm
/usr/share/perl5/site_perl/CPAN
/usr/share/perl5/site_perl/CPAN/Admin.pm
/usr/share/perl5/site_perl/CPAN/API
/usr/share/perl5/site_perl/CPAN/API/HOWTO.pod
/usr/share/perl5/site_perl/CPAN/Author.pm
/usr/share/perl5/site_perl/CPAN/Bundle.pmI don't program using perl in any way and just want to keep dependencies.
And so, I'm wondering: are these just leftovers from using cpan? Are they safe to delete?
Last edited by Raptorox (2024-06-27 20:25:54)
Offline
I'll just add that it's the same thing with /usr/lib/node_modules/ and /usr/lib/ruby/gems/, seems like leftovers from using npm and gem instead of pacman?
Offline
In contrast to your title /usr/bin/site_perl/ should be owned by perl - all you are showing is that content under that directory is not owned by a package. This is not surprising as you noted you installed this content via CPAN not via pacman. If you no longer want that content, delete it.
If you still want it, I'd also say delete it ... then install it properly via pacman.
And yes, the same goes for npm and ruby content that you apparently installed without pacman.
Last edited by Trilby (2024-06-27 20:16:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
So I can delete those, that's good. Also regarding ownership, weird thing is that pikaur -Qo /usr/bin/site_perl/ was returning no ownership, until I reinstalled perl, in which case it started giving perl as the owner. But, well, solved.
Offline