You are not logged in.
The kernel 6.2.1 installed box has a perl 5.36 environment. Perl modules were installed via (1) pacman (2) cpan (3) custom make scripts (>4 hours).
For the purpose of package building, assp dependency checking, installation recipe writing and testing, I'd wish to remove perl completely and reinstall perl from scratch using pacman.
Searching bbs for "pacman how to reinstall perl" or "pacman reinstall perl" doesn't bring me a clue.
I'd think to remove perl, perl its pacman installed modules, cpan and custom perl modules, using:
# pacman -Rc perl
# rm -r ~/.cpan ~/.cpanm /usr/share/perl5 /usr/lib/perl5 /usr/bin/site_perlThen I'd like to reinstall perl and upgrade cpan using:
# pacman -S perl perl-module-build perl-libwww perl-lwp-protocol-https cpanminus ... other perl modules ...
# cpan CPANAfterwards verify the installed packages and reinstall packages with failures:
# pacman -Qk 2>/dev/null | grep -v ' 0 missing files'
glib2: 731 total files, 1 missing file
# pacman -S glib2Any thoughts on this approach (except for the Bad Idea™ of mixing pacman perl-* with cpan)?
What can be done better?
Last edited by probackup-nl (2024-01-19 15:18:50)
Offline
The use of 2 and 3 are the problem, you have to clean that up by hand.
edit: I suggest not using cpan directly, if you want the perl modules system wide, use makepkg/pacman, if you want them in $HOME, there are tools for that too.
Last edited by Mr.Elendig (2023-03-15 12:31:34)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline