LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-02-2009, 10:44 AM   #1
Vhann
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: Disabled
Using debmirror on "non debian-like" distro


Hi all,

I own an old machine ( PII 300 Mhz 54 Mb RAM ) 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
And output:
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/
lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at ./debmirror lin
e 366.
BEGIN failed--compilation aborted at ./debmirror line 366.
Any help would be appreciated,
thank you for your attention.

Regards,
Vhann
 
Old 02-03-2009, 03:39 AM   #2
tomklq
LQ Newbie
 
Registered: Nov 2004
Location: Ireland
Distribution: Arch, IPCop, Debian
Posts: 17

Rep: Reputation: 1
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.
 
Old 02-03-2009, 04:45 PM   #3
Vhann
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: Disabled
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 .

Thanks again tomklq.
Regards,
Vhann

Last edited by Vhann; 02-04-2009 at 06:55 AM.
 
  


Reply

Tags
slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the GemPC USB-SW smartcard reader with Debian "etch" distro (Xandros OCE 4.5) Centurion030 Linux - Hardware 1 12-30-2008 11:34 PM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM
Debian Distro: Skype "connecting" hangs and get stuck, debian Xeratul Linux - General 0 12-24-2006 05:04 AM
Ntfs-Fuse copy error Debian "Sid" / Ubuntu "6.06" animefriik Linux - General 0 10-06-2006 09:28 AM
The Anti-X Distro... a.k.a. "Debian" versaulis Linux - Software 5 11-07-2003 03:05 PM


All times are GMT -5. The time now is 11:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration