View Single Post

   
  #1 (permalink)  
Old 01-17-2008, 04:40 PM
Doug Nichols
 
Posts: n/a
Default Validating a linux installation?

Recently I spent several weeks upgrading some of my libraries so I
could install updated versions of gnome, kde etc. The one this I
discovered was how difficult it is to do it by hand and get everything
right.

After I have finished I found some software incorrectly found
libraries they shoudln't have and made dependencies on libraries that
where long ago updated.

I am no expert in Linux but what would be a great tool would be
package that:

1 - checked all the libraries to see of their dependencies exist. I
would think that you could do this by finding +x files and executing
ldd then taking the results and checking the existence- something like
this
find /usr/ %m+x -exec ldd {} | check_for_file \;

2 - Checked all the headers files to see if they point to something
that exists
3 - checked dangling symlinks

I am thinking someone has already thought of this and has developed a
little perl/bash script to do such a thing?

Anyone with ideas?

thanks
dn
Reply With Quote