Bug#802546: /usr/sbin/debootstrap: 399: cd: can't cd to http://ftp.debian.org
On Tue, Oct 20, 2015 at 7:03 PM, Vagrant Cascadian <vagrant@aikidev.net> wrote:
> On 2015-10-20, Jeffrey Walton wrote:
>> # qemu-debootstrap --arch=ppc64 --keyring
>> /usr/share/keyrings/debian-archive-keyring.gpg --variant=buildd
>> --exclude=debfoster debian-ppc64 http://ftp.debian.org/debian
>> I: Running command: debootstrap --arch ppc64 --foreign --keyring
>> /usr/share/keyrings/debian-archive-keyring.gpg --variant=buildd
>> --exclude=debfoster debian-ppc64 http://ftp.debian.org/debian
>> /usr/sbin/debootstrap: 399: cd: can't cd to http://ftp.debian.org
>
> You need to tell debootstrap what directory to install into:
>
> /usr/sbin/debootstrap
> I: usage: [OPTION]... <suite> <target> [<mirror> [<script>]]
> I: Try `debootstrap --help' for more information.
> E: You must specify a suite and a target.
>
> You can't omit the <suite> argument; you probably want something like:
>
> qemu-debootstrap --arch=ppc64 \
> --keyring /usr/share/keyrings/debian-archive-keyring.gpg \
> --variant=buildd \
> --exclude=debfoster \
> jessie \
> debian-ppc64 \
> http://ftp.debian.org/debian
>
> Of course, replace "jessie" with "sid" or "stretch" or whatever.
Oh, you are right, my bad.... I removed "unstable" but did not replace
it with anything. Sorry about that.
Maybe a message that states its missing suite would be helpful to keep
people like me out of your hair :)
Jeff
Reply to: