Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 57147
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: MSCHILLI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.006000
Fixed in: (no value)



Subject: Can't bootstrap local::lib on Ubuntu (permission problem)
After downloading local-lib 1.006000 on Ubuntu 8.04, and calling perl Makefile.PL --bootstrap it pulls in various modules from CPAN and breaks at CPAN.pm, which it tries to update in the main root and fails because it's running under user permissions. It would probably work with root permissions, but I don't want to modify any files that are maintained by the package manager. Output below, would be great if you could look into it. Thanks! CPAN-1.9402/ Running make install Warning: You do not have permissions to install into /usr/lib/perl/5.8 at /usr/share/perl/5.8/ExtUtils/Install.pm line 114. Cannot forceunlink /usr/share/perl/5.8/CPAN.pm: Permission denied at /usr/share/perl/5.8/File/Find.pm line 924 make: *** [pure_perl_install] Error 13 /usr/bin/make install -- NOT OK You may have to su to root to install the package commit: wrote /home/mike/.cpan/CPAN/MyConfig.pm *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - ExtUtils::MakeMaker ...too old. (6.30_01 < 6.31) - ExtUtils::Install ...too old. (1.33 < 1.43) - ExtUtils::CBuilder ...loaded. (0.18) - ExtUtils::ParseXS ...loaded. (2.15) - Module::Build ...loaded. (0.2808 >= 0.28) - CPAN ...too old. (1.7602 < 1.82) ==> Auto-install the 3 mandatory module(s) from CPAN? [y] y *** Dependencies will be installed the next time you type 'make'. (You may need to do that as the 'root' user.) *** Module::AutoInstall configuration finished. *** Installing dependencies... *** You are not allowed to write to the directory '/usr/local/share/perl/5.8.8'; the installation may fail due to insufficient permissions. ==> Should we try to re-execute the autoinstall process with 'sudo'? [y] y *** Trying to re-execute the autoinstall process with 'sudo'... [sudo] password for mike:
Subject: Re: [rt.cpan.org #57147] Can't bootstrap local::lib on Ubuntu (permission problem)
Date: Sun, 2 May 2010 14:42:25 -0400
To: Michael_Schilli via RT <bug-local-lib [...] rt.cpan.org>
From: Chris Nehren <apeiron [...] cpan.org>
On Sun, May 02, 2010 at 14:17:11 -0400 , Michael_Schilli via RT wrote: Show quoted text
> Sun May 02 14:17:10 2010: Request 57147 was acted upon. > Transaction: Ticket created by MSCHILLI > Queue: local-lib > Subject: Can't bootstrap local::lib on Ubuntu (permission problem) > Broken in: 1.006000 > Severity: Important > Owner: Nobody > Requestors: MSCHILLI@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=57147 > > > > After downloading local-lib 1.006000 on Ubuntu 8.04, and calling > > perl Makefile.PL --bootstrap > > it pulls in various modules from CPAN and breaks at CPAN.pm, which it > tries to update in the main root and fails because it's running under > user permissions. It would probably work with root permissions, but I > don't want to modify any files that are maintained by the package manager.
That's odd. My Linode runs Ubuntu and I've never had a problem there, nor have I heard of anyone having a problem with it. I'll look into it, though I'm fairly certain from looking at things that there's local settings that are conflicting--particularly a CPAN/Config.pm under /usr/local/share, just as a guess. -- Thanks and best regards, Chris Nehren
Haven't gotten any commentary on this in quite a while. Have you tried a fresh CPAN config as suggested?
CC: MSCHILLI [...] cpan.org
Subject: Re: [rt.cpan.org #57147] Can't bootstrap local::lib on Ubuntu (permission problem)
Date: Wed, 25 Aug 2010 01:14:53 -0700 (PDT)
To: Chris Nehren via RT <bug-local-lib [...] rt.cpan.org>
From: Mike Schilli <m [...] perlmeister.com>
On Wed, 18 Aug 2010, Chris Nehren via RT wrote: Show quoted text
> Haven't gotten any commentary on this in quite a while. Have you tried > a fresh CPAN config as suggested?
I've upgraded to Ubuntu 10.04 since and it works great there :), so feel free to close that bug. Thanks for following up! -- Mike Mike Schilli m@perlmeister.com
Submitter no longer affected by the issue, and it's for an old version of a system anyway.