I have /bin/bin - how do I fix this? [SOLVED]
I discovered an error I made when I was first installind the directories.
I missed the bin in the install -d /usr/{bin,include,lib,sbin,share,src} command. This was discovered when I finished installing Coreutils and attempted to do the mv command of the directories. I got "can't stat, no such file or directory". I went back to the earlier instructions and that's when I discovered my error. I removed coreutils, and then installed the directories properly. I then went and installed the coreutils again and this time the move command worked except I got and error saying /bin already existed (or some thing like that). I then went on to install the rest of the packages. Out of curiosity, I went to check on the directory tree and that is when I discovered I have /bin/bin. In this directory is all the things that are in my host systems /bin directory. This is weird. I believe I botched this somehow, so my question is: Can I safely move the items (files, links, etc) from my /bin/bin directory into my /bin directory and if so, how? I am still in the process of building my first LFS and all of my packages are passing the make tests without problems. I had the exact same results for my gcc-3.4.1 that the LFS instructions suggest you check before proceeding. Any help will be appreciated. Thanks |
cd /bin/bin
mv * .. and then hope all the symlinks were relative in that directory. To make sure do an ls -l and check for any /bin/bin symlinks. |
All times are GMT -5. The time now is 04:42 PM. |