[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "no such script" error



On Tue, Dec 9, 2008 at 2:34 PM, Tshepang Lekhonkhobe <tshepang@gmail.com> wrote:
> On Thu, Dec 4, 2008 at 5:27 PM, Daniel Baumann <daniel@debian.org> wrote:
>> Tshepang Lekhonkhobe wrote:
>>> Hi,
>>
>> Hi,
>>
>>> $ lh_config --mirror-binary http://localhost/mirror -d 03.12.08
>>> --security disabled --apt-secure disabled --packages "less wajig
>>> pmount" --apt "-allow-unauthenticated"
>>
>> Wrong configuration:
>>
>> -d specifies the distribution of the target (live) system. valid values
>> are codenames, e.g. 'lenny' (without '').
>>
>> --apt specifies whetever apt-get or aptitude shall be used to create the
>> live system, using one or the other can have slightely different outcome
>> in some corner cases. valid values are either 'apt' or 'apt-get' to
>> specify apt-get, or 'aptitude' for aptitude (always without '').
>
> I've fixed the problems you've noted and now my command looks like this:
>
> lh_config \
>  --mirror-binary http://localhost/mirror \
>  --mirror-chroot http://localhost/mirror \
>  --mirror-bootstrap http://localhost/mirror \
>  --distribution lenny \
>  --security disabled \
>  --apt-secure disabled \
>  --packages "less wajig pmount" \
>  --apt-options "--yes --allow-unauthenticated"
>
> But then I get the following error:
>
> <start>
> I: Extracting util-linux...
> W: Failure trying to run: chroot /home/wena/live/chroot mount -t proc proc /proc
> P: Begin unmounting filesystems...
> <end>

All these problems were fixed, first by using an normal Debian
repository filesystem layout with the help the unfriendly but
extremely useful reprepro, and then by running cdebootstrap in
verbosity more to find more installation failures. All this is the
prize I paid for creating my own repos instead of going the 'pristine'
route, but all worthy effort given the educational value.

Thanks for your help...

-- 
my place on the web:
floss-and-misc.blogspot.com


Reply to: