LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-31-2005, 06:36 PM   #1
rblythe
LQ Newbie
 
Registered: May 2005
Posts: 14

Rep: Reputation: 0
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

Last edited by rblythe; 06-18-2005 at 11:58 AM.
 
Old 06-01-2005, 04:47 AM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 09:27 AM
Deleted Bin, Daemon, Adm, and Lp Users, now to fix it... KneeLess Linux - Newbie 3 05-17-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration