Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-02-2009, 10:44 AM   #1
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:
debmirror --nosource -m --passive --root=/media/disk/ubuntu --method=ftp --progress --dist=hardy --section=main,multiverse,universe,restricted --arch=i386 --ignore-release-gpg /media/disk/ubuntu
And output:
Can't locate LockFile/ 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.

Old 02-03-2009, 03:39 AM   #2
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:

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
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'



-libnet ( already installed )

Anyway, now it works and I know *VERY* well how to install Perl modules .

Thanks again tomklq.

Last edited by Vhann; 02-04-2009 at 06:55 AM.
Old 09-07-2016, 03:07 PM   #4
LQ Newbie
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
Thanks! Works perfect, though a couple more dependencies are required for later versions:

cpan install Net::INET6Glue
cpan install LWP::UserAgent



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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

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