Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256912 - 'g-cpan -u' fails for root because of Insufficient permissions!
Summary: 'g-cpan -u' fails for root because of Insufficient permissions!
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 11:22 UTC by Juergen Rose
Modified: 2010-02-12 20:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-01-30 11:22:48 UTC
'g-cpan -u' fails with:
...
Trying with "/usr/bin/lynx -source" to get
    "http://search.cpan.org/CPAN"/authors/id/Y/YU/YUNFANG/CHECKSUMS
Checksum for /tmp/.cpan/sources/authors/id/Y/YU/YUNFANG/Statistics-TTest-1.1.0.tar.gz ok
Statistics-TTest-1.1.0/
Statistics-TTest-1.1.0/TTest.pm
Statistics-TTest-1.1.0/PointEstimation.pm
Statistics-TTest-1.1.0/test3.pl
Statistics-TTest-1.1.0/test2.pl
Statistics-TTest-1.1.0/test.pl
Statistics-TTest-1.1.0/Makefile.PL
Statistics-TTest-1.1.0/test4.pl
Statistics-TTest-1.1.0/test5.pl
-  Is already unwrapped into directory /tmp/.cpan/build/Statistics-Distributions-1.02
Insufficient permissions! at /usr/lib/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm line 172.


Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-01-30 18:39:25 UTC
g-cpan is unmaintained. Be patient.
Comment 2 Sergiy Borodych 2009-01-30 22:03:38 UTC
what version of perl and CPAN you have ?
Comment 3 Juergen Rose 2009-01-30 22:31:51 UTC
root@vilm:/root(4)# perl --version

This is perl, v5.8.8 built for i686-linux-thread-multi
...


root@vilm:/root(5)# cpan -v
cpan script version 1.03
CPAN.pm version 1.7602

I have two CPAN.pm modules:
-rw-r--r-- 1 root root 20697 May 30  2007 /usr/lib/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm
-r--r--r-- 1 root root 224011 Dec  4 08:15 /usr/lib/perl5/5.8.8/CPAN.pm
The first belongs to g-cpan-0.15.0-r1 the second to perl-5.8.8-r5.

Comment 4 Sergiy Borodych 2009-02-05 11:38:55 UTC
please try this patchset
http://bugs.gentoo.org/show_bug.cgi?id=233386
and tell me if it don't help
and g-cpan -l output too
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 20:07:23 UTC
Should be fixed in g-cpan r226, will be released soon.