Perl path - How do I fix @INC?

Something odd has happened to my Perl @INC. While trying to solve a different problem, I noticed during an Extension install it stated my Perl architecture is “confused”. When I print out @INC, I see:


There shouldn’t be 2 /usr/lib/x86_64-linux-gnu/perl/5.34 entries, and the /usr/lib/x86_64-linux-gnu/perl-base shouldn’t be there. Is there a way I can get rid of those? This was a fresh install of Ubuntu 22.04 and RT install so I’m not sure how this happened exactly.