Upgrading Perl in Linux Mint

WARNING: don’t do this – it could hose your system like it did mine… details to follow once i figure out how to undo it.

Figured I’d share this since it was a PITA to figure out. Linux Mint 11 ships with Perl 5.10. I was trying to install icinga and it needs Perl 5.12.4 or greater.

To make it happen I had to:

  • add this line to /etc/apt/sources.list: deb http://ftp.de.debian.org/debian wheezy main
  • install/upgrade with this: apt-get install gcc perl -o APT::Immediate-Configure=0 (from linux mint forums)

and Bob’s your uncle.

AND…. to put 5.10 back in place…

  • remove the entry you put in /etc/apt/sources.list and replace it with deb http://ftp.de.debian.org/debian squeeze main
  • sudo apt-get install perl=5.10.1-17ubuntu4 perl-base=5.10.1-17ubuntu4 perl-modules=5.10.1-17ubuntu4

upgrading to 5.12 caused lots of problems – Pidgin wouldn’t work and most importantly, my VPN stopped working – it would disconnect after about 30 seconds.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>