Fulko Hew writes:
or $ cpan Attempt to reload Scalar/Util.pm aborted.
Looks like you have installed additional Perl modules, bypassing Fedora's packaged perl RPMs. This is likely resulted in unintentional corruption or incompatibility with your base Fedora perl installation, in some unknown manner that nobody, I'm afraid, can diagnose for you.
Can anyone suggest where to start? For example... Why is it trying to reload Scalar::Util?
Who knows. Attempting to elicit logic from an illogical state of affairs is unlikely to succeed.
At this point, it might be faster for you to simply wipe everything and reinstall Fedora. An unintentional power loss on my laptop right after an upgrade resulted in an unbootable brick, by default, with some weird complaint. Manually selecting an older kernel from grub completed the boot.
Rather than trying to tinker and figure out WTF, I just wiped and reinstalled. Took only two hours to do. It might be faster for you to do the same.
Afterwards, try not to use cpan in combination with the system-installed perl. First of all, there is a very likely possibility that whatever module you needed, there's already a Fedora RPM for it. Install it, and call it a day.
If you do need a very custom Perl ecosystem, with CPAN and all those bells and whistles: you should build your own Perl core from scratch. Install it somewhere else, in /usr/local maybe. Use CPAN with it, to your heart's content, without touching the system perl.
Attachment:
pgp051huyduAE.pgp
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure