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

Bug#774331: debootstrap: fakechroot variant fails with fakechroot not found



Package: debootstrap
Version: 1.0.66
Severity: normal

Dear Maintainer,

As a normal user, trying to run debootstrap --variant=chroot
(after starting fakeroot and fakechroot)
yields the following:
[output omitted]
I: Installing core packages...
W: Failure trying to run: chroot /home/user/debootstrap-test dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.37_amd64.deb
W: See /home/user/debootstrap-test/debootstrap/debootstrap.log for details
root@debian:~# less debootstrap-test/debootstrap/debootstrap.log
gpgv: Signature made Wed Dec 31 14:57:43 2014 CST using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
/usr/sbin/debootstrap: 905: /usr/sbin/debootstrap: chroot: not found

It seems that chroot isn't in the default $PATH for a normal user, causing
debootstrap to fail.

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debootstrap depends on:
ii  wget  1.15-1+b1

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.18-6

debootstrap suggests no packages.

-- no debconf information


Reply to: