[xen-tools-dev] [Bug] missing file debootstrap

Stéphane Jourdois sjourdois at gmail.com
Mon Jul 12 15:25:16 CEST 2010


Le 12 juillet 2010 15:19, Stéphane Jourdois <sjourdois at gmail.com> a écrit :
> 2010/7/12 Dmitry Nedospasov <dmitry at nedos.net>:
>> Just did a fresh install of squeeze and xen 4.0... installed
>> cdebootstrap.
>>
>> First test machine I try to install:
>>
>> === >8 snipp >8===
>> Installation method: debootstrap
>> The following required binary for the installation was not found
>>        /usr/sbin/debootstrap
>> === >8 snipp >8===
>
> Wild guess :perhaps you set debootstrap-cmd to /usr/bin/debootstrap in
> your config, and installed only cdebootstrap, not debootstrap...
> ++

Forget that, there is a bug in xt-install-image :
needBinary is set to /usr/sbin/debootstrap, and not modified if you
use cdebootstrap.

So if you use cdebootstrap, you _need_ to install debootstrap, even if
it will not be used.

It's a one-line patch : insert
  $dispatch{'debootstrap'}{'needBinary'} = $cmd;
at line 717, it should work :)
++


More information about the xen-tools-dev mailing list