Article 5FVDP lfs 10.1 | Entering the Chroot Environment | Ubuntu 20.04 | '/usr/bin/env’: Not a directory

lfs 10.1 | Entering the Chroot Environment | Ubuntu 20.04 | '/usr/bin/env’: Not a directory

by
farhatb
from LinuxQuestions.org on (#5FVDP)
Hello,
Host distribution: Ubuntu 20.04
LFS book version: 10.1
Section where the problem was encountered: 7.4. Entering the Chroot Environment
Error:
Code:root@farhat-pc:/mnt/lfs# chroot "$LFS" /usr/bin/env -i \
> HOME=/root \
> TERM="$TERM" \
> PS1='(lfs chroot) \u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin \
> /bin/bash --login +h
chroot: failed to run command /usr/bin/env': Not a directory$LFS/bin/usr/env:
Code:root@farhat-pc:/mnt/lfs# ls -lah usr/bin/env
-rwxr-xr-x 1 root root 265K mars 26 15:50 usr/bin/env'$LFS/usr/env' is a file file not a directory!!
I am sure that I have followed the two previous section 7.2 && 7.3
Any hint please?latest?d=yIl2AUoC8zA latest?i=98qn0sJ5eMw:cOPZzG_nT78:F7zBnMy latest?i=98qn0sJ5eMw:cOPZzG_nT78:V_sGLiP latest?d=qj6IDK7rITs latest?i=98qn0sJ5eMw:cOPZzG_nT78:gIN9vFw98qn0sJ5eMw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments