Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 45675
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: ilmari.vacklin [...] cs.helsinki.fi
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.8601
Fixed in: (no value)



Subject: Can't reinstall
Unless I'm misunderstanding something, there is no way to say "i --reinstall" to reinstall a module. The only way to do it is to say "i --force", which has other effects too.
Subject: Re: [rt.cpan.org #45675] Can't reinstall
Date: Sun, 3 May 2009 21:42:52 +0200
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <jos [...] dwim.org>
On May 3, 2009, at 9:39 PM, http://wolverian.livejournal.com/ via RT wrote: Show quoted text
> Sun May 03 15:39:09 2009: Request 45675 was acted upon. > Transaction: Ticket created by http://wolverian.livejournal.com/ > Queue: CPANPLUS > Subject: Can't reinstall > Broken in: 0.8601 > Severity: (no value) > Owner: Nobody > Requestors: ilmari.vacklin@cs.helsinki.fi > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45675 > > > > Unless I'm misunderstanding something, there is no way to say "i > --reinstall" to reinstall a module. The only way to do it is to say "i > --force", which has other effects too.
Step back, what are you trying to achieve? There's no such thing as 'reinstall'; if the module is there you dont need to install it. If it's there and broken, you want to forcebly overwrite what you have, and --force is the right option (re-install no matter what). The convoluted way is to uninstall and then to install again. Cheers, -- Jos Boumans 'Real programmers use "cat > a.out"'
Subject: Re: [rt.cpan.org #45675] Can't reinstall
Date: Mon, 4 May 2009 00:22:34 +0300
To: bug-CPANPLUS [...] rt.cpan.org
From: Ilmari Vacklin <ilmari.vacklin [...] cs.helsinki.fi>
2009/5/3 Jos I. Boumans via RT <bug-CPANPLUS@rt.cpan.org>: Show quoted text
> Step back, what are you trying to achieve?
Good point. I want to fix a broken installation of a module that CPANPLUS thinks is installed, but is not really, and which I can not uninstall, since CPANPLUS can't find its manifest, or so. Let's see if I have the logs... The original problem was that PAR::Dist failed mysteriously: Writing Makefile for PAR::Dist [MSG] [Sun May 3 20:52:37 2009] DEFAULT 'filter_prereqs' HANDLER RETURNING 'sub return value' [MSG] [Sun May 3 20:52:39 2009] cp lib/PAR/Dist.pm blib/lib/PAR/Dist.pm Manifying blib/man3/PAR::Dist.3pm [ERROR] [Sun May 3 20:52:40 2009] MAKE TEST failed: Tiedostoa tai hakemistoa ei ole PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t ("No such file or directory"). After that, "u PAR::Dist" gave an error that is unfortunately not in my logs any more, and "i PAR::Dist" refused to install it, saying it's already installed. Sorry for the unclear report. -- Ilmari Vacklin
Subject: Re: [rt.cpan.org #45675] Can't reinstall
Date: Mon, 4 May 2009 00:06:36 +0000
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <jos [...] dwim.org>
On 3 May 2009, at 21:23, Ilmari Vacklin via RT wrote: Show quoted text
> Queue: CPANPLUS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=45675 > > > 2009/5/3 Jos I. Boumans via RT <bug-CPANPLUS@rt.cpan.org>:
>> Step back, what are you trying to achieve?
> > Good point. I want to fix a broken installation of a module that > CPANPLUS thinks is installed, but is not really, and which I can not > uninstall, since CPANPLUS can't find its manifest, or so. Let's see if > I have the logs... > > The original problem was that PAR::Dist failed mysteriously: > > Writing Makefile for PAR::Dist > > [MSG] [Sun May 3 20:52:37 2009] DEFAULT 'filter_prereqs' HANDLER > RETURNING 'sub return value' > [MSG] [Sun May 3 20:52:39 2009] cp lib/PAR/Dist.pm blib/lib/PAR/ > Dist.pm > Manifying blib/man3/PAR::Dist.3pm > > [ERROR] [Sun May 3 20:52:40 2009] MAKE TEST failed: Tiedostoa tai > hakemistoa ei ole PERL_DL_NONLAZY=1 /usr/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', > 'blib/arch')" t/*.t > > ("No such file or directory"). > > After that, "u PAR::Dist" gave an error that is unfortunately not in > my logs any more, and "i PAR::Dist" refused to install it, saying it's > already installed.
If you're installing outside the standard @INC (ie, you have makemakerflags set or some such), it may not find the manifest files. Other than that 'i Par::Dist --force' is not really 'wrong', and will solve the problem at hand. Cheers, -- Jos Boumans How do I prove I am not crazy to people who are?
Subject: Re: [rt.cpan.org #45675] Can't reinstall
Date: Mon, 4 May 2009 04:28:59 +0300
To: bug-CPANPLUS [...] rt.cpan.org
From: Ilmari Vacklin <ilmari.vacklin [...] cs.helsinki.fi>
2009/5/4 Jos I. Boumans via RT <bug-CPANPLUS@rt.cpan.org>: Show quoted text
> If you're installing outside the standard @INC (ie, you have > makemakerflags > set or some such), it may not find the manifest files.
I don't. It was going to /usr/local. Show quoted text
> Other than that 'i Par::Dist --force' is not really 'wrong', and will > solve > the problem at hand.
Yeah, thanks. :) Show quoted text
> > Cheers, > > -- > >        Jos Boumans > >        How do I prove I am not crazy to people who are? > > > > >
-- Ilmari Vacklin
On Sun May 03 21:29:36 2009, ilmari.vacklin@cs.helsinki.fi wrote: Show quoted text
> 2009/5/4 Jos I. Boumans via RT <bug-CPANPLUS@rt.cpan.org>:
> > If you're installing outside the standard @INC (ie, you have > > makemakerflags > > set or some such), it may not find the manifest files.
> > I don't. It was going to /usr/local.
We've had several reports of ExtUtils::Installed (which is what CPANPLUS uses to find files associated with an installed package) not finding the right files. If you can reproduce this issue, perhaps moving this ticket to the EU::I queue is helpful. In the mean time, i'll close this ticket.