[Slapt-get-user] Possible Bug on Passing Option to Slapt-src

Jason Woodward woodwardj at jaos.org
Wed Feb 4 18:36:00 EST 2015


Hi Richard,

> I recently tried to install an earlier version (0.98.4) of clamav than 
> what was available in the Slackbuild repository using slapt-src. 
> Slackbuild repository had the 0.98.5 version so I attempted to pass the 
> VERSION option to slapt-src as follows:
> 
> */# VERSION=0.98.4 slapt-src -i clamav/**/
> /*
> Slapt-src downloaded the 0.95.5 version instead and then failed when 
> trying to untar the 0.95.4 version.  Here's the console log:
> 
> /*root[system]# VERSION="0.98.4" slapt-src -i clamav*//*
> *//*The following packages will be installed:*//*
> *//* clamav *//*
> *//*Do you want to continue? [y/N] y*//*
> *//*Fetching README...Done*//*
> *//*Fetching README.SLACKWARE...Done*//*
> *//*Fetching clamav.SlackBuild...Done*//*
> *//*Fetching clamav.info...Done*//*
> *//*Fetching doinst.sh...Done*//*
> *//*Fetching logrotate.clamav...Done*//*
> *//*Fetching rc.clamav...Done*//*
> *//*Fetching slack-desc...Done*//*
> *//*Fetching 
> http://downloads.sourceforge.net/clamav/clamav-0.98.5.tar.gz...Done*//*
> *//*tar: /usr/src/slapt-src/system/clamav/clamav-0.98.4.tar.gz: Cannot 
> open: No such file or directory*//*
> *//*tar: Error is not recoverable: exiting now*//*
> *//*fakeroot -- sh clamav.SlackBuild Failed*//*
> */
> So it looks like the VERSION argument doesn't get set in the the 
> download URL.
> 
> There is also a very real possibility that I did something wrong.
> 
> Thanks for your time.

Passing VERSION through isn't guaranteed to work.  Sorry.


take care,
jason
--
woodwardj at jaos.org


More information about the Slapt-get-user mailing list