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

Bug#802546: /usr/sbin/debootstrap: 399: cd: can't cd to http://ftp.debian.org



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.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: