Hello all,
Sorry for barging in on your conversation but this doesn't seems to be
resolved yet.

Debootstrap by default has --resolve-deps flag turned on, the problem is
on that it tries to install a virtual package libstdc++-dev. (Check
target-system/debootstrap/deboostrap.log. When I tried to install that
package on my system, I get the following error:

apt-get install libstdc++-dev
Reading package lists... Done
Building dependency tree... Done
Package libstdc++-dev is a virtual package provided by:
  libstdc++6-dev 3.4.6-5
  libstdc++6-4.1-dev 4.1.1-21
  libstdc++5-3.3-dev 1:3.3.6-15
You should explicitly select one to install.
E: Package libstdc++-dev has no installation candidate

This is fixable by adding option --include=libstdc++6-dev  thus hinting
installer on what to do. Which is not big deal, but it should not occur
in the first place. You can try other packages mentioned above, but the
results may vary.

The same error, obviously, occurs on i386 but somehow debootstrap
manages to resolve it, which is not the case on amd64.

The error is totally reproducible, you just have to pass correct
parameters. If you have a 32-bit system it still can be done, use option
--foreign-image, that would download all the necessary packages but will
not run scripts - the important thing is that it would go past
dependency resolution.

So if you run something like 
debootstrap --foreign-image --arch amd64 etch target_root_fs
http:/debian_mirror/
you'll get the error.

Alex.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to