From: Yang Shouxun <[EMAIL PROTECTED]>
> How can I update my system to Perl 5.6.0-20? Perl-5.005 was installed.
> There is an evil dependency circularity that prevents me from upgrading
> the system: debconf depends on perl-5.005 and the like.

It's a bloody annoyace to do so, and pretty awkward.

However I did it (on potato) like this:

Leave old perl 5.005 in place.

Obtain perl 5.6.0 source (actually 5.6.1 has been released in the last few
days IIRC), and compile:

sh Configure -de
make
make test
make install

When asked if you want to update the /usr/bin/perl link, choose "no".

Now you should have two versions of perl on the system.

perl --version should give you 5.6.0
/usr/bin/perl --version should give you 5.005

You need to keep /usr/bin/perl as 5.005 otherwise debconf breaks. However
/usr/bin/perl is just a symlink to /etc/alternatives/perl, so if you're
compiling a program which expects /usr/bin/perl to be 5.6, you can symlink
/usr/bin/perl to the perl5.6 binary (sorry, can't remember where it's
located), and change it back to 5.005 when you've compiled the program.

HTH,
CH



Reply via email to