Using debmirror on "non debian-like" distro
Hi all,
I own an old machine ( PII 300 Mhz 54 Mb RAM :p ) I only use for downloads. Since the machine isn't powerful enough to run even wmii ( :O ), installing Debian, Ubuntu or such thing is out of question (actually the machine runs under Slackware 12.0.0). Anyway, I need to fetch Ubuntu repositories for offline use (I recently converted my family to Linux but they only have dial-up Internet). I recently found debmirror was a bare Perl script making it possibly usable under a "not Debian" distro. Actually, it always exits with error(s) when run. Here is the command-line used: Code:
debmirror --nosource -m --passive --host=ca.archive.ubuntu.com --root=/media/disk/ubuntu --method=ftp --progress --dist=hardy --section=main,multiverse,universe,restricted --arch=i386 --ignore-release-gpg /media/disk/ubuntu Code:
Can't locate LockFile/Simple.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/ thank you for your attention. Regards, Vhann |
You need the LockFile::Simple perl module, which is available via CPAN:
http://search.cpan.org/~jv/LockFile-....207/Simple.pm Alternatively, someone who is familiar with Slackware may be able to point you to a slack package for that module. |
Ahh, thanks for the hint tomklq (as well as for the URL :) ).
Your help is very much appreciated :) . Ok, just a little hint for those who might want to do the same thing: it's a real pain in the arse. Here's the whole list of Perl modules I had to build and install ( in order of succesfull installation )*: *Dash-prefixed modules are dependencies of the last package in a 'list' -Compress::Raw::Zlib -IO::Compress::Base -IO::Compress:Zlib Compress::Zlib Digest::SHA1 -MIME::Base64 -URI -HTML::Tagset -HTML::Parser -libnet ( already installed ) -Digest::MD5 libwww-perl Anyway, now it works and I know *VERY* well how to install Perl modules :p . Thanks again tomklq. Regards, Vhann |
Thanks! Works perfect, though a couple more dependencies are required for later versions:
Code:
cpan install Net::INET6Glue |
All times are GMT -5. The time now is 05:12 AM. |