DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 2 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to install some modules using cpan (for perl) and are having all sorts of issues. In particular, it seems to be complaining about the untar process:
cpan> install LWP
CPAN: Storable loaded ok (v2.18)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 01 Dec 2009 23:39:08 GMT
Running install for module 'LWP'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for G/GA/GAAS/libwww-perl-5.834.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.834.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.38)
Will not use Archive::Tar, need 1.00
Uncompressed /root/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.834.tar.gz successfully
Using Tar:/bin/tar xvf "libwww-perl-5.834.tar":
Couldn't untar libwww-perl-5.834.tar
CPAN: File::Temp loaded ok (v0.18)
CPAN: Time::HiRes loaded ok (v1.9711)
Package seems to come without Makefile.PL.
(The test -f "/root/.cpan/build/GAAS-obLMip/Makefile.PL" returned false.)
Writing one on our own (setting NAME to LWP)
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Had problems unarchiving. Please build manually
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
GAAS/libwww-perl-5.834.tar.gz : unwrapped NO -- untar failed
It seems to suggest that the untar process completes, but checking /root/.cpan/sources/authors/id/G/GA/GAAS/ shows the tgz intact, and not extracted as the message might suggest.
I've looked all over the net for this one, a few people have referenced the error, but there are no definitive answers. Any help would be appreciated (As solving dependencies by manually downloading all the modules is a right pain the the ass!).
I'm a little reluctant to go down the pre-packaged perl modules path unless they have _every_ module as deb packages. I don't want to get in a situation where im using some packages and some modules I've compiled myself...it gets rather messy quickly.
Using cpan is the ideal solution for me, so I'd prefer to get that working If I can.
The error isn't specific to LWP, any module I try fails with the same reasons. Entering the directory where its working (/root/.cpan/sources/authors/id/G/GA/GAAS/) shows the file which has not been extracted despite 'extracted successfully'. tar is definitely installed
I ended up just using debian modules as it turns out the one I was after was included in their repo's.
It'd still be nice to know why cpan doesnt work, but I suppose it's really for my own interest now. A quick google seems to suggest i'm not the only one with the issue (no solutions though).