Package: fai-server
Version: 4.2.2
Severity: normal

Dear Maintainer,

I'm trying to get going with fai. I'm using an up-to-date Jessie.

If I run fai-setup I get an error that aptitude is not available:

-------------------------------8<-------------------------------
root@fai:~# fai-setup
Creating FAI nfsroot in /srv/fai/nfsroot
Creating base system using debootstrap version 1.0.60
Calling debootstrap --exclude=info jessie /srv/fai/nfsroot 
http://ftp.se.debian.org/debian
Creating base.tar.gz
chroot: failed to run command 'aptitude': No such file or directory
Log file written to /var/log/fai/fai-make-nfsroot.log
Log file written to /var/log/fai/fai-setup.log
root@fai:~#
------------------------------->8-------------------------------

The logfiles have no futher information.

The workaround - to set in /etc/fai/nfsroot.conf
> FAI_DEBOOTSTRAP_OPTS="--exclude=info --include=aptitude"
and mentioned in
<https://bugs.launchpad.net/ubuntu/+source/fai/+bug/714570>
is working for me.

Thomas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-server depends on:
ii  debootstrap  1.0.60
ii  fai-client   4.2.2

Versions of packages fai-server recommends:
pn  isc-dhcp-server                   <none>
pn  libproc-daemon-perl               <none>
ii  nfs-kernel-server                 1:1.2.8-9
pn  openbsd-inetd | inet-superserver  <none>
ii  openssh-client                    1:6.6p1-7
ii  openssh-server                    1:6.6p1-7
ii  tftpd-hpa                         5.2+20140608-3

Versions of packages fai-server suggests:
ii  aptitude   0.6.11-1
pn  debmirror  <none>
pn  grub       <none>
pn  perl-tk    <none>
pn  reprepro   <none>
pn  xorriso    <none>

-- Configuration Files:
/etc/fai/NFSROOT changed:
PACKAGES aptitude
nfs-common fai-nfsroot module-init-tools ssh rdate lshw rpcbind
rsync lftp less dump e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools xfsprogs xfsdump
procinfo numactl dialog
console-common kbd
iproute moreutils udev
xz-utils
cupt
dracut-network live-boot- live-boot-initramfs-tools-
PACKAGES aptitude I386
grub-pc
linux-image-686
PACKAGES aptitude AMD64
grub-pc
linux-image-amd64

/etc/fai/apt/sources.list changed:
deb http://ftp.se.debian.org/debian jessie main
deb http://security.debian.org/debian-security jessie/updates main

/etc/fai/nfsroot.conf changed:
FAI_DEBOOTSTRAP="jessie http://ftp.se.debian.org/debian";
FAI_ROOTPW='$1$VJuUEDuz$TF7BdxNRLPh9mlpAOTZ8n1'
NFSROOT=/srv/fai/nfsroot
TFTPROOT=/srv/tftp/fai
NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
FAI_DEBOOTSTRAP_OPTS="--exclude=info"
FAI_CONFIGDIR=/srv/fai/config


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to