-   Linux - Software (
-   -   Using debmirror on "non debian-like" distro (

Vhann 02-02-2009 11:44 AM

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:

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.


tomklq 02-03-2009 04:39 AM

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.

Vhann 02-03-2009 05:45 PM

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 :p .

Thanks again tomklq.

codercotton 09-07-2016 04:07 PM

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


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

All times are GMT -5. The time now is 01:42 PM.