Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: erosnemesis on 1 October 2003, 21:45

Title: usr/bin problem
Post by: erosnemesis on 1 October 2003, 21:45
when i was installing mozilla 1.4 it said that it found an older version of it so it asked me if i wanted to delete it, so i said yes. But when i did it, it just didnt delete the old version of mozilla it deleted all of the contents of the folder /usr/bin. When ever i want to run something it wont open and when i am in the konsole none of the commands work. By the way i am running Red Hat Linux 9.0. Is there a way to put all of the missing files back into the folder from the Red Hat cd's. Thanks for your help.
Title: usr/bin problem
Post by: insomnia on 1 October 2003, 23:34
quote:
Originally posted by dev/null:
when i was installing mozilla 1.4 it said that it found an older version of it so it asked me if i wanted to delete it, so i said yes. But when i did it, it just didnt delete the old version of mozilla it deleted all of the contents of the folder /usr/bin. When ever i want to run something it wont open and when i am in the konsole none of the commands work. By the way i am running Red Hat Linux 9.0. Is there a way to put all of the missing files back into the folder from the Red Hat cd's. Thanks for your help.


Just "update" it with your original CD's.
  (http://smile.gif)
Title: usr/bin problem
Post by: SAJChurchey on 2 October 2003, 01:31
Actually, it probably only deleted the binaries and didn't "uninstall" the programs from the RPM tables.  I would go through the redhat-config-packages program, uninstall everything and then reinstall it.  It probably won't get EVERYTHING that was deleted considering some of those packages will not uninstall b/c they are required by the system.

Hopefully, all of the redhat-config-* packages were not deleted.  If so, check the /sbin and /bin directories.

Good luck
Title: usr/bin problem
Post by: Stryker on 2 October 2003, 01:39
quote:
Originally posted by SAJChurchey:
Actually, it probably only deleted the binaries and didn't "uninstall" the programs from the RPM tables.  I would go through the redhat-config-packages program, uninstall everything and then reinstall it.  It probably won't get EVERYTHING that was deleted considering some of those packages will not uninstall b/c they are required by the system.

Hopefully, all of the redhat-config-* packages were not deleted.  If so, check the /sbin and /bin directories.

Good luck



I think he means everything in /usr/bin was deleted... so he wont be able to get the gui up and the shell is useless... redhat-config-packages wont even run because of the missing files in /usr/bin... this is one of those rare cases where i'd suggest going through the installation again. Mozilla should not do that though.
Title: usr/bin problem
Post by: SAJChurchey on 2 October 2003, 02:11
If he installed all of the program files directly so /usr/bin, it may be possible.  It probably clears out everything in the previous installation directory when it runs the script for uninstalling it.  For instance, if my installation was /usr/local/mozilla it probably runs

Code: [Select]

or something similar.  It might be something he wants to run by the mozilla newsgroups or bugzilla and see.
Title: usr/bin problem
Post by: mobrien_12 on 2 October 2003, 21:09
Yes.

The mozilla Linux binary installer wipes out the entire directory that your current Mozilla lives in, without checking if anything important is in it.  If you put mozilla in /usr/bin, you get screwed.  

This has been in the bugzilla database for a long time, but nobody has fixed it apparently.

[ October 02, 2003: Message edited by: M. O'Brien ]

Title: usr/bin problem
Post by: SAJChurchey on 2 October 2003, 19:51
I say file it again and remind them.  Sometimes it gets lost in the bug list.
Title: usr/bin problem
Post by: erosnemesis on 3 October 2003, 21:57
Thanks for all of your help. i took the suggestion that stryker made. I have reinstalled redhat linux 9.0 and everything works now.