Deleting the debootstrap.log before the rm -rf highlights that the
problem is with the NFS temporary file:
rm: cannot remove `/opt/ltsp/i386/debootstrap/.nfs00040c7200000102':
Device or resource busy
So would be this categorised as a known deficiency in debootstrap/rm and hence
ltstp-build-client should be updated ala:
--- 010-debootstrap.original 2006-10-06 19:03:14.000000000 +0800
+++ 010-debootstrap 2006-10-06 19:02:46.000000000 +0800
@@ -7,6 +7,7 @@
DEBOOTSTRAPOPTS="$DEBOOTSTRAPOPTS --include=$INCLUDE"
fi
# Install base packages
- LC_ALL=C debootstrap $DEBOOTSTRAPOPTS --arch $ARCH $DIST $ROOT $MIRROR
+ LC_ALL=C debootstrap $DEBOOTSTRAPOPTS --keep-debootstrap-dir --arch
$ARCH $DIST $ROOT $MIRROR
+ rm -rf "$ROOT/debootstrap"
;;
esac
Feedback from coreutils & debootstrap teams welcome.
--
ltsp-build-client needs to handle proxy settings for apt in the chroot
https://launchpad.net/bugs/65003
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs