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

Bug#693219: Doesn't mention --foreign in help output



Control: rename -1 Doesn't mention --foreign or --second-stage in help output
Control: forcemerge -1 806342


Hi Steve, all,

2012-11-14 11:51 Steve McIntyre:
Package: debootstrap
Version: 1.0.42
Severity: minor

$ sudo debootstrap --arch=armhf sid sid-armhf ftp://ftp.debian.org/debian/

fails with the errors

W: Failure trying to run: chroot /tmp/sid-armhf mount -t proc proc /proc
W: See /tmp/sid-armhf/debootstrap/debootstrap.log for details

because I'm running on amd64. That's fine, but it would be helpful if
the --help output mentioned the "--foreign" option to stop this
happening. Maybe also pick up on the failure to run something in the
chroot if the arch specified doesn't match the native one and tell the
user about --foreign then?

Seems that I sent my report too quickly, I failed to check the bug lists
for "--foreign", so merging with this previous bug report makes sense, I
think.

From my report:

--------------
--help says:

 --second-stage-target=DIR    Run second stage in a subdirectory instead of root
                              (can be used to create a foreign chroot)
                              (requires --second-stage)

but neither --second-stage nor --foreign are mentioned.
--------------


Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>


Reply to: