fai-setup: E: You don't have enough free space in /var/cache/apt/archives/.

Fabian Keil freebsd-listen at fabiankeil.de
Wed Jan 23 14:51:31 CET 2019


I'm trying to setup FAI on Debian GNU/Linux 8 i386 using
fai-server 5.3.6~bpo8+1.

fai-setup -v fails with:
   [...]
   The following extra packages will be installed:
     bind9-host console-data dmeventd emacs24-bin-common emacs24-common
     emacsen-common gettext-base grub-common grub-pc-bin grub2-common libapr1
     libaprutil1 libasound2 libasound2-data libasprintf0c2 libbind9-90
     libblas-common libblas3 libbsd0 libcap-ng0 libcurl3 libdbus-1-3
     libdevmapper-event1.02.1 libdns100 libedit2 libexpat1 libfreetype6 libfuse2
     libgeoip1 libgfortran3 libgpm2 libhd21 libidn11 libio-pty-perl
     libipc-run-perl libisc95 libisccc90 libisccfg90 liblinear1 liblockfile-bin
     liblockfile1 liblua5.2-0 liblvm2cmd2.02 liblwres90 liblzo2-2 libnuma1
     libpcap0.8 libpci3 libpng12-0 libquadmath0 libreadline5 librtmp1 libserf-1-1
     libssh2-1 libsvn1 libusb-1.0-0 libx86emu1 libxml2 linux-base
     linux-image-3.16.0-7-686-pae openssh-client openssh-server
     openssh-sftp-server openssl
   Suggested packages:
     unicode-data rblcheck emacs24-el emacs24-common-non-dfsg multiboot-doc
     grub-emu xorriso desktop-base console-setup apmd libasound2-plugins
     alsa-utils fuse geoip-bin gpm liblinear-tools liblinear-dev linux-doc-3.16
     debian-kernel-handbook thin-provisioning-tools libtime-duration-perl
     libtimedate-perl netselect-apt ssh-askpass libpam-ssh keychain monkeysphere
     db5.3-util patch attr quota
   Recommended packages:
     os-prober powermgmt-base dbus geoip-database xml-core firmware-linux-free
     irqbalance libc6-i686 default-mta mail-transport-agent ndiff lockfile-progs
     xauth ncurses-term mailx mailutils
   The following packages will be REMOVED:
     systemd-sysv*
   The following NEW packages will be installed:
     bind9-host btrfs-tools ca-certificates console-common console-data curl
     dialog dmeventd dnsutils dosfstools dracut dump emacs24-bin-common
     emacs24-common emacs24-nox emacsen-common firmware-bnx2 firmware-bnx2x
     firmware-realtek gettext-base grub-common grub-pc grub-pc-bin grub2-common
     hdparm hwinfo kbd lftp libapr1 libaprutil1 libasound2 libasound2-data
     libasprintf0c2 libbind9-90 libblas-common libblas3 libbsd0 libcap-ng0
     libcurl3 libdbus-1-3 libdevmapper-event1.02.1 libdns100 libedit2 libexpat1
     libfreetype6 libfuse2 libgeoip1 libgfortran3 libgpm2 libhd21 libidn11
     libio-pty-perl libipc-run-perl libisc95 libisccc90 libisccfg90 liblinear1
     liblockfile-bin liblockfile1 liblua5.2-0 liblvm2cmd2.02 liblwres90 liblzo2-2
     libnuma1 libpcap0.8 libpci3 libpng12-0 libquadmath0 libreadline5 librtmp1
     libserf-1-1 libssh2-1 libsvn1 libusb-1.0-0 libx86emu1 libxml2 linux-base
     linux-image-3.16.0-7-686-pae linux-image-686-pae lshw lvm2 mdadm moreutils
     netselect nmap ntpdate numactl openssh-client openssh-server
     openssh-sftp-server openssl pciutils procinfo psmisc rdate reiserfsprogs
     rsync smartmontools ssh subversion syslinux-common sysvinit-core usbutils
     xfsdump xfsprogs xz-utils
   0 upgraded, 106 newly installed, 1 to remove and 0 not upgraded.
   Need to get 83.6 MB of archives.
   After this operation, 312 MB of additional disk space will be used.
   E: You don't have enough free space in /var/cache/apt/archives/.
   ERROR: 25600 25600
   ERROR: chroot /srv/fai/nfsroot apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --fix-missing install nfs-common fai-nfsroot ssh rdate lshw rpcbind rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools xfsprogs xfsdump btrfs-tools procinfo numactl dialog console-common kbd iproute2 netselect moreutils udev subversion xz-utils pxelinux syslinux-common curl wget- netcat-traditional ca-certificates nmap emacs24-nox firmware-bnx2 firmware-bnx2x firmware-realtek dracut-network dracut live-boot- initramfs-tools- dracut-config-generic sysvinit-core systemd-sysv- grub-pc linux-image-686-pae return code 100
   install_packages: executing chroot /srv/fai/nfsroot apt-get clean
   install_packages: executing chroot /srv/fai/nfsroot dpkg --configure --pending
   install_packages: executing chroot /srv/fai/nfsroot dpkg -C
   install_packages: executing chroot /srv/fai/nfsroot apt-get clean
   1 errors during executing of commands
   ERROR: install_packages had exit code: 3
   Log file written to /var/log/fai/fai-make-nfsroot.log
   Log file written to /var/log/fai/fai-make-nfsroot.log
   ERROR when calling fai-make-nfsroot.
   Log file written to /var/log/fai/fai-setup.log

According to df there is more than enough space available
(/srv is located on /):

   procube at fai-server:~$ df -h
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/dm-0        37G  3.1G   33G   9% /
   udev             10M     0   10M   0% /dev
   tmpfs            47M  4.8M   42M  11% /run
   tmpfs           116M     0  116M   0% /dev/shm
   tmpfs           5.0M  4.0K  5.0M   1% /run/lock
   tmpfs           116M     0  116M   0% /sys/fs/cgroup
   /dev/sda1       236M   33M  192M  15% /boot
   tmpfs            24M  4.0K   24M   1% /run/user/116
   tmpfs            24M     0   24M   0% /run/user/1000

   procube at fai-server:~$ ls -lR /srv/fai/nfsroot/var/cache/apt/archives/
   /srv/fai/nfsroot/var/cache/apt/archives/:
   total 4
   -rw-r----- 1 root root    0 Jan 23 14:02 lock
   drwxr-xr-x 2 root root 4096 Jan 23 14:05 partial

   /srv/fai/nfsroot/var/cache/apt/archives/partial:
   total 0

Any ideas?

Thanks,
Fabian


More information about the linux-fai mailing list