Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 17868
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: christopher [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.86_52
Fixed in: (no value)



Subject: Incorrect advice leads to critical perl installation destruction
1. I'm running MSWin32-x86-multi-thread. 2. I start perl -MCPAN -e shell 3. It tells me I should upgrade, and it "should be seamless", however, after taking the advice and doing the upgrade, my perl installation is destroyed because Makemaker doesn't work on my platform anymore, and now everything else I do fails. 4. The BUG is that CPAN *ALREADY KNEW* that the "latest version" is not going to work on MSWin32-x86-multi-thread: all the tests for this platform always failed: http://cpantesters.perl.org/show/CPAN.html#CPAN-1.86 So not only should I have NOT been asked to "Upgrade" nor told it was going to be "seamless" - I *should* have been TOLD *NOT* to upgrade for the time being, untill testing on my platform has succeeded!
Subject: Re: [rt.cpan.org #17868] Incorrect advice leads to critical perl installation destruction
Date: Mon, 27 Feb 2006 08:20:38 +0100
To: bug-CPAN [...] rt.cpan.org
From: andreas.koenig.gmwojprw [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 27 Feb 2006 00:29:53 -0500 (EST), "Guest via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> 1. I'm running MSWin32-x86-multi-thread.
Show quoted text
> 2. I start perl -MCPAN -e shell
Show quoted text
> 3. It tells me I should upgrade, and it "should be seamless", however, > after taking the advice and doing the upgrade, my perl installation is > destroyed because Makemaker doesn't work on my platform anymore, and > now everything else I do fails.
Can you describe in more detail what fails? Maybe you hit a bug I do not know of yet. Show quoted text
> 4. The BUG is that CPAN *ALREADY KNEW* that the "latest version" is > not going to work on MSWin32-x86-multi-thread: all the tests for this > platform always failed: > http://cpantesters.perl.org/show/CPAN.html#CPAN-1.86
The failing tests there have been fixed in the 1.86_51, 1.86_52, 1.86_53, and 1.87 releases. They were by no means critical failures (as ar as I can tell). Show quoted text
> So not only should I have NOT been asked to "Upgrade" nor told it was > going to be "seamless" - I *should* have been TOLD *NOT* to upgrade > for the time being, untill testing on my platform has succeeded!
Thanks for bringing this to my attention. I will change the wording of the upgrade advice. I already prepared for release 1.88 with he following change: Index: lib/CPAN.pm =================================================================== --- lib/CPAN.pm (revision 675) +++ lib/CPAN.pm (working copy) @@ -1,6 +1,6 @@ # -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*- package CPAN; -$VERSION = '1.87'; +$VERSION = '1.88'; $VERSION = eval $VERSION; use strict; @@ -3589,13 +3589,14 @@ local($^W)= 0; if ($version > $CPAN::VERSION){ $CPAN::Frontend->myprint(qq{ - There's a new CPAN.pm version (v$version) available! - [Current version is v$CPAN::VERSION] + New CPAN.pm version (v$version) available. + [Currently running version is v$CPAN::VERSION] You might want to try install CPAN reload cpan - without quitting the current session. It should be a seamless upgrade - while we are running... + to both upgrade CPAN.pm and run the new version without leaving + the current session. + }); #}); sleep 2; $CPAN::Frontend->myprint(qq{\n}); @@ -8219,6 +8220,13 @@ installation instructions of that package still works in your environment. +=head1 SECURITY ADVICE + +This software enables you to upgrade software on your computer and so +is inherently dangerous because the newly installed software may +contain bugs and may alter the way your computer works or even make it +unusable. Please consider backing up your data before every upgrade. + =head1 AUTHOR Andreas Koenig C<< <andk@cpan.org> >> -- andreas
Fixed in 1.87_51