Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: jvromans [...] squirrel.nl
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.044
Fixed in: (no value)



Subject: Need sudo for uninstall
CPANPLUS can use 'sudo' to install packages. It does, however, not use 'sudo' to uninstall packages. This results in errors when running CPANPLUS as an ordinary user while perl (and other packages) have been installed as root.
Date: Fri, 10 Oct 2003 14:01:35 +0200
Subject: Re: [Cpanplus-bugs] [cpan #4050] Need sudo for uninstall
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Wednesday, Oct 8, 2003, at 17:54 Europe/Amsterdam, Guest via RT wrote: Show quoted text
> CPANPLUS can use 'sudo' to install packages. > It does, however, not use 'sudo' to uninstall packages. > This results in errors when running CPANPLUS as an ordinary user while > perl (and other packages) have been installed as root.
thi sis correct -- 'sudo' is a commandline program, that happens to work well together with the commandline program 'make' -- 'uninstall' is a really a perl unlink() call which will happily ignore sudo... we'll need to think of Something Clever here, so consider it a feature request we're working on :) -- Jos Boumans "You know the world is going crazy, when the best rapper is a white guy, the best golfer is a black guy, Switzerland wins the US Open sailing cup, Belfast is considered the safest city for a Bush/Blair top, France is accusing the US of arrogance and germany doesn't want to go to war." CPANPLUS http://cpanplus.sf.net
From: schwern [...] pobox.com
[kane@dwim.org - Fri Oct 10 08:02:15 2003]: Show quoted text
> thi sis correct -- 'sudo' is a commandline program, that happens to > work well together with the commandline program 'make' -- 'uninstall' > is a really a perl unlink() call which will happily ignore sudo... > we'll need to think of Something Clever here, so consider it a feature > request we're working on :)
Why aren't you using "make uninstall"?
Date: Sun, 12 Oct 2003 19:06:10 +0200
Subject: Re: [cpan #4050] Need sudo for uninstall
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Sunday, October 12, 2003, at 01:21 PM, Guest via RT wrote: Show quoted text
> Why aren't you using "make uninstall"?
that requires you to have the (original) makefile around if i'm not mistaken, which is absolutely not guaranteed... we have a foolproof way to find all the files (via the packlist), just need to platform independantely remove them, that's all.... suggestions (and moreover patches) welcome. -- Jos Boumans How do I prove I am not crazy to people who are? CPANPLUS http://cpanplus.sf.net