Hi,
I'm trying to use your script, but I'm encountering issues on the way. First I had to change version of deboostrap, because
version 1.0.128 is no longer present in the repository -> using 1.0.137 instead. I'm running on fresh installation of NixOS 23.11
But no matter what version of NixOS or debootstrap I use, I still encounter following issue when creating chroot:
...
I: Extracting zlib1g...
W: Failure trying to run: chroot "/opt/chroot" /bin/true
W: See /opt/chroot/debootstrap/debootstrap.log for details
chroot /opt/chroot unsucessful creation
InstallChroot->createChroot: run sudo rm -rf /opt/chroot and do it again
deboostrap.log looks like:
...
2024-09-16 18:15:02 URL:http://deb.debian.org/debian/pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_i386.deb [82644/82644] -> "/opt/chroot//var/cache/apt/archives/partial/zlib1g_1%3a1.2.13.dfsg-1_i386.deb" [1]
/usr/share/debootstrap/functions: line 1142: chroot: command not found
/usr/share/debootstrap/functions: line 1148: grep: command not found
/usr/share/debootstrap/functions: line 1148: head: command not found
/usr/share/debootstrap/functions: line 1148: sed: command not found
/usr/share/debootstrap/functions: line 1148: cut: command not found
Hi, I'm trying to use your script, but I'm encountering issues on the way. First I had to change version of deboostrap, because version 1.0.128 is no longer present in the repository -> using 1.0.137 instead. I'm running on fresh installation of NixOS 23.11
But no matter what version of NixOS or debootstrap I use, I still encounter following issue when creating chroot:
deboostrap.log looks like:
I'm not sure what I'm doing wrong..
Any advice?
Thank you!! :)