{"id":195,"date":"2015-12-07T12:58:50","date_gmt":"2015-12-07T12:58:50","guid":{"rendered":"http:\/\/alain.fi\/?p=195"},"modified":"2019-07-30T04:00:25","modified_gmt":"2019-07-30T04:00:25","slug":"perl-errors-apt-get-proxmox","status":"publish","type":"post","link":"https:\/\/alain.fi\/?p=195","title":{"rendered":"perl errors, apt-get, proxmox"},"content":{"rendered":"<p>If you get errors like:<\/p>\n<p>BEGIN failed&#8211;compilation aborted at \/usr\/share\/perl5\/PVE\/Tools.pm line 6.<\/p>\n<p>And then with apt-get you are also getting perl errors, check the perl paths. Grab the list of not found dirs:<\/p>\n<p>ls -la \/etc\/perl \/usr\/local\/lib\/x86_64-linux-gnu\/perl\/5.20.2 \/usr\/local\/share\/perl\/5.20.2 \/usr\/lib\/x86_64-linux-gnu\/perl5\/5.20 \/usr\/share\/perl5 \/usr\/lib\/x86_64-linux-gnu\/perl\/5.20 \/usr\/share\/perl\/5.20 \/usr\/local\/lib\/site_perl | grep &#8216;no file&#8217;<\/p>\n<p>-&gt; fix that list, make them point to where you think they should, like:<\/p>\n<p>\/usr\/local\/lib\/site_perl -&gt; \/usr\/lib\/perl5\/<\/p>\n<p>In my case 3 directory did not exist, and one was empty.<\/p>\n<p>I just made symbolic links for them, and perl started working again.<\/p>\n<p>And if you were doing the same thing as me, then continue installing proxmox with these great advices:<br \/>\n<a href=\"https:\/\/pve.proxmox.com\/wiki\/Upgrade_from_3.x_to_4.0\">https:\/\/pve.proxmox.com\/wiki\/Upgrade_from_3.x_to_4.0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you get errors like: BEGIN failed&#8211;compilation aborted at \/usr\/share\/perl5\/PVE\/Tools.pm line 6. And then with apt-get you are also getting perl errors, check the perl paths. Grab the list of not found dirs: ls -la \/etc\/perl \/usr\/local\/lib\/x86_64-linux-gnu\/perl\/5.20.2 \/usr\/local\/share\/perl\/5.20.2 \/usr\/lib\/x86_64-linux-gnu\/perl5\/5.20 \/usr\/share\/perl5 &hellip; <a href=\"https:\/\/alain.fi\/?p=195\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":1,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}