Score:0

perl modules missing after upgrading to 22.04

sa flag

Yesterday I upgraded from 20.04 to 22.04 the upgrade went fairly smoothly.

However, after the upgrade, all the perl modules I had installed were no longer installed.

Is this because Perl was re-installed ?

Score:1
im flag

Modules are built and installed for a specific version of perl. Ubuntu 20.04 uses perl 5.30.0, whereas Ubuntu 22.04 uses perl 5.34.0.

If you installed the modules from Ubuntu packages then I would expect that you'd get updated versions of them for the new perl when you upgrade the OS. But if you installed them using CPAN.pm or cpanm then the OS doesn't know about them so can't do that for you.

In general, in the perl community it is recommended that you don't use the perl that comes with the OS (and this applies to any OS, not just Ubuntu) for this very reason. It's better to use something like perlbrew to build your own perl, and to then use cpanm to install modules in it.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.