LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   reinstall coreutils? (tree command missing) (https://www.linuxquestions.org/questions/linux-software-2/reinstall-coreutils-tree-command-missing-538370/)

RayJ 03-17-2007 05:35 PM

reinstall coreutils? (tree command missing)
 
Just looking for a little insight. I have taken over the admin of a server (with a very active website) and there seems to be a few missing utilities (like: tree).

I would like to "re-install" the coreutils using up2date. It has a "force" option (-f). Before I try it, I would like to know if anyone has done this and was there any negative effects?

I need to make sure the server (and website) does go crazy on me!

The server is running RedHat 4 (redhat-release-4ES-4.1)

Thanks for any assistance!

MensaWater 03-17-2007 05:47 PM

Look in /var/spool/up2date and see if you don't already have a coreutils rpm there. If you do and it is the same version as reported by "rpm -q coreutils" then you should be able to just reinstall it without causing a problem.

I wouldn't really think updating coreutils to a newer version would cause a problem unless you had a specialty coreutils. For example on our RHEL 3 servers that run Oracle RAC we downloaded a coreutils designed to work with Oracle Cluster Filesystems (OCFS). Even this would only be a problem if we used those coreutils on OCFS itself on a regular basis (cp, mv and other commands) which we don't since the OCFS is used only for the database datafiles.

RayJ 03-18-2007 04:19 PM

Thanks for the info! No special setup as far as I know, so I will go ahead and give it a try.

MensaWater 03-19-2007 12:12 PM

You know I must be slipping. I just realized you said "tree" is missing. It isn't part of coreutils on RHEL/Fedora. It is a separate package called "tree". Reinstalling coreutils won't put it in for you.

RayJ 03-19-2007 04:15 PM

Thanks, after a few choice google.com/linux searches I was led to believe that all the text/bin/core utils were combined. I also tried: up2date -i tree with no luck. I will look around some more.

Thanks again!

RayJ 03-25-2007 09:33 PM

Eureka!
 
Found a simple solution: http://www.centerkey.com/tree/ (my favorite kind of solution!)


All times are GMT -5. The time now is 07:45 AM.